Author mode - Draft comment displayed in xref text resolution
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
Author mode - Draft comment displayed in xref text resolution
Hello,
I have the following dita XML:
I author mode "Refer to: My draft commentMy Table" is displayed at xref location : the draft comment is displayed.
How can I hide draft comment in xref text resolution?
I think that is in oxy_link-text() function (called in CSS) that I have to do modification. Is it possible to change oxy_link-text() behavior?
Thanks.
I have the following dita XML:
Code: Select all
<table id="a001">
<title><draft-comment>My draft comment</draft-comment>My table</title>
...
</table>
...
<p>Refer to: <xref href="#a001" format="dita"/>.</p>
How can I hide draft comment in xref text resolution?
I think that is in oxy_link-text() function (called in CSS) that I have to do modification. Is it possible to change oxy_link-text() behavior?
Thanks.
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Author mode - Draft comment displayed in xref text resolution
Hi Nico,
I added an internal issue to fix this problem in a future Oxygen version.
About somehow fixing this problem yourself, our Oxygen Author SDK is Java based and freely available, there is a "DITALinkTextResolver" API class which computes the link target texts and which could be modified and re-compiled. But it's quite hard word because right now the "DITALinkTextResolver" delegates to non-API code to resolve titles so you would need to do the title resolutions yourself, parse the target topics. It's doable but not easy. If you want this approach I could try to provide you with more details.
Regards,
Radu
I added an internal issue to fix this problem in a future Oxygen version.
About somehow fixing this problem yourself, our Oxygen Author SDK is Java based and freely available, there is a "DITALinkTextResolver" API class which computes the link target texts and which could be modified and re-compiled. But it's quite hard word because right now the "DITALinkTextResolver" delegates to non-API code to resolve titles so you would need to do the title resolutions yourself, parse the target topics. It's doable but not easy. If you want this approach I could try to provide you with more details.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service