ID as href target
ID as href target
hi, when using a ditamap Oxygen expects a file-name in the @href attribuut. Is it possible to use an ID instead and configure Oxygen the way that it can use an ID instead and find the target?
Re: ID as href target
Hi,
Oxygen passes any topic reference @href attribute value through its XML catalog support, looking an URI mappings to see if it can redirect the reference to some place else:
https://www.oxygenxml.com/doc/versions/ ... alogs.html
So if you have an XML catalog file added to Oxygen's XML catalogs list, it can redirect file references like this:
If you want something more flexible, we have support to add an XML catalog resolver via our Java API from an Oxygen plugin:
https://www.oxygenxml.com/InstData/Edit ... IResolver-
Regards,
Radu
Oxygen passes any topic reference @href attribute value through its XML catalog support, looking an URI mappings to see if it can redirect the reference to some place else:
https://www.oxygenxml.com/doc/versions/ ... alogs.html
So if you have an XML catalog file added to Oxygen's XML catalogs list, it can redirect file references like this:
Code: Select all
<uriSuffix uriSuffix="topic.dita" uri="../../someOtherFolder/topic.dita"/>
https://www.oxygenxml.com/InstData/Edit ... IResolver-
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com