How to set "nofamily" value for args.fo.include.rellinks?
Here should go questions about transforming XML with XSLT and FOP.
How to set "nofamily" value for args.fo.include.rellinks?
Title pretty much says it all. I would like to use this value instead of "Default" or "yes."
I tried adding this as a possible value in the dita.framework and ditamap.framework files, but no joy. The UI still restricts me from entering "nofamily".
Suggestions?
I tried adding this as a possible value in the dita.framework and ditamap.framework files, but no joy. The UI still restricts me from entering "nofamily".
Suggestions?
Shane
Re: How to set "nofamily" value for args.fo.include.rellinks?
Hi,
You are right, in an older version of the DITA Open Toolkit the parameter was limited to "yes".
So we should update this predefined parameter to allow all values defined in the specification:
http://dita-ot.sourceforge.net/quicksta ... rties.html
This issue will be fixed in Oxygen 12.2.
Until then you can edit the build file:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/build.xml
and set the value of this argument:
<arg line='"antArgsIncludeRelatedLinks=${args.fo.include.rellinks}"'/>
hard coded to:
<arg line='"antArgsIncludeRelatedLinks=nofamily"'/>
Regards,
Radu
You are right, in an older version of the DITA Open Toolkit the parameter was limited to "yes".
So we should update this predefined parameter to allow all values defined in the specification:
http://dita-ot.sourceforge.net/quicksta ... rties.html
This issue will be fixed in Oxygen 12.2.
Until then you can edit the build file:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/build.xml
and set the value of this argument:
<arg line='"antArgsIncludeRelatedLinks=${args.fo.include.rellinks}"'/>
hard coded to:
<arg line='"antArgsIncludeRelatedLinks=nofamily"'/>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: How to set "nofamily" value for args.fo.include.rellinks?
Thanks for the excellent info! I took it one step further and replaced
with
This lets me set the value in my transformation scenario using my parameter custom.include.rellinks.
Again, thanks!
Shane
Code: Select all
<arg line='"antArgsIncludeRelatedLinks=${args.fo.include.rellinks}"'/>
Code: Select all
<arg line='"antArgsIncludeRelatedLinks=${custom.include.rellinks}"'/>
Again, thanks!
Shane
Shane
Re: How to set "nofamily" value for args.fo.include.rellinks?
Is there a simple way to set this to print only the link and page number, without the short description following it?
And thanks for the solution above! I thought I was stuck with all or none of those related links!
And thanks for the solution above! I thought I was stuck with all or none of those related links!
Re: How to set "nofamily" value for args.fo.include.rellinks?
Hi,
You are probably referring to the fact that the short description from the referenced topics are also shown in the related links.
In the XSLT stylesheet
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/links.xsl
there is an xsl:template:
<xsl:template name="insertLinkShortDesc">
and you can comment for example the entire <xsl:choose> block.
Regards,
Radu
You are probably referring to the fact that the short description from the referenced topics are also shown in the related links.
In the XSLT stylesheet
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/links.xsl
there is an xsl:template:
<xsl:template name="insertLinkShortDesc">
and you can comment for example the entire <xsl:choose> block.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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