[oXygen-user] select category instead of typing it?

Radu Coravu
Mon Jul 4 06:24:33 CDT 2011


Hi Roderick,

So do you mean a DITA construct like:

>  <prolog>
>         <metadata>
>             <category>CARET_POSITION</category>
>         </metadata>
>     </prolog>

And at the caret position you would like some values proposed.

This can probably be done either be done by making a specialization of 
the DITA DTDs (and specifying default values for the category element) 
or by using our Java API and implement a certain interface 
("ro.sync.contentcompletion.xml.SchemaManagerFilter") to provide the 
values when editing the element content.

If you are interested in the second approach I can give you more details.

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 7/4/2011 2:06 PM, Roderik Dernison wrote:
> Hi,
>
> I’d like to know if it is possible to select the category out of a list
> instead of typing it down. So, when I edit the prolog of my topic and
> add the category to the metadata, I’d like oxygen to show a dropdown
> list with predefined values.
>
> Kind regards,
>
> Roderik Dernison
>
> INL
>
> Tstl 2471
>
>
> ------------------------------------------------------------------------
>
> ----------------------------------------------------------
> Aan dit bericht kunnen geen rechten worden ontleend.
> Het bericht is alleen bestemd voor de geadresseerde.
> Indien het bericht niet voor u is bestemd, verzoeken wij
> u dit aan ons te melden en het bericht te verwijderen.
>
> This message shall not constitute any obligations.
> This message is intended solely for the addressee.
> If you have received this message in error, please
> inform us and delete the message.
> ----------------------------------------------------------
>
>
>
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user




More information about the oXygen-user mailing list