Help with outputting domain-specific elements

Questions about XML that are not covered by the other forums should go here.
EJB
Posts: 12
Joined: Mon Dec 13, 2010 12:59 pm

Help with outputting domain-specific elements

Post 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!
Radu
Posts: 9470
Joined: Fri Jul 09, 2004 5:18 pm

Re: Help with outputting domain-specific elements

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
EJB
Posts: 12
Joined: Mon Dec 13, 2010 12:59 pm

Re: Help with outputting domain-specific elements

Post by EJB »

Thanks, I knew it would be something simple!
Post Reply