Page 1 of 1

Help with outputting domain-specific elements

Posted: Wed Jun 22, 2011 12:51 pm
by EJB
This is probably a very simple question. I am converting legacy XML data to a DITA-compliant XML format. Currently, when I am editing the XSLT file which will perfom this transformation, the Elements view and the content completion show me HTML and XSLT elements.

Is there any way I can configure Oxygen so that they no longer offer HTML elements, but show the elements from the output schema or DTD instead?

Thanks!

Re: Help with outputting domain-specific elements

Posted: Wed Jun 22, 2011 2:08 pm
by Radu
Hi,

In the Oxygen Preferences->"Editor / Content Completion / XSL" page you can set a custom schema from which the content completion window and the elements view will contain suggestions when editing an XSLT.
In your case you should probably set the topic DTD:
${frameworks}/dita/DITA-OT/dtd/technicalContent/dtd/topic.dtd

Regards,
Radu

Re: Help with outputting domain-specific elements

Posted: Wed Jun 22, 2011 4:31 pm
by EJB
Thanks, I knew it would be something simple!