Processing instructions for reused content

Post here questions and problems related to editing and publishing DITA content.
urbanrobots
Posts: 86
Joined: Sun May 03, 2015 7:34 pm
Location: San Francisco

Processing instructions for reused content

Post by urbanrobots »

hi~ We like how Oxygen XML Editor renders topics referenced by a key in the DITA Maps Manager. The user interface renders something like:
keydef -> filename
We do not always use keys for reused topics. Is there a way to insert processing instructions in the topics (or something like that) to tell Oxygen XML Editor to render files in DITA Maps Manager in a certain way?

thanks~ nicholas
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Processing instructions for reused content

Post by Radu »

Hi Nicholas,

We have some Java-based API which would allow you to control the icons and names which appear in the DITA Maps Manager view so if you want this approach I could try to give you more details...

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
urbanrobots
Posts: 86
Joined: Sun May 03, 2015 7:34 pm
Location: San Francisco

Re: Processing instructions for reused content

Post by urbanrobots »

Hi Radu,
Yes, please. That would be great. Thanks,

Nicholas
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Processing instructions for reused content

Post by Radu »

Hi Nicholas,

Our Java SDK can be downloaded from here:

https://www.oxygenxml.com/oxygen_sdk/download.html

We have a topic describing how an XML Node Renderer customizer should be used:

https://www.oxygenxml.com/doc/versions/ ... mizer.html

Basically in the Document Type Associations preferences page if you extend or edit the "DITA Map" document type association, it has a Classpath tab where you can add your additional JAR library and an Extensions tab where you can configure that individual extension.
Your implementation should probably extend the ro.sync.ecss.extensions.dita.DITANodeRendererCustomizer.DITANodeRendererCustomizer() base class which already has some DITA-related customizations and delegate to the base implementation for most references.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply