Next - Previous Link enablement - Webhelp transform
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 11
- Joined: Sat Jul 17, 2010 7:30 pm
Next - Previous Link enablement - Webhelp transform
Hi there,
Typically I am able to rummage around and find what I am looking for, but this time I am stumped. I want to have the Previous/Next links working as in your own webhelp, but they are not appearing. Only Up is currently displaying.
I have searched through dita2webhelpImpl.xsl, nextPrevFullIteration.xsl and rel-links.xsl, but have not found where the problem is.
Currently I have commented out <xsl:text>Up</xsl:text> so it doesn't display on its own, so I must be in the right neighbourhood.
Any help you can provide on displaying Previous/Next would be greatly appreciated!
Thanks for your time
Typically I am able to rummage around and find what I am looking for, but this time I am stumped. I want to have the Previous/Next links working as in your own webhelp, but they are not appearing. Only Up is currently displaying.
I have searched through dita2webhelpImpl.xsl, nextPrevFullIteration.xsl and rel-links.xsl, but have not found where the problem is.
Currently I have commented out <xsl:text>Up</xsl:text> so it doesn't display on its own, so I must be in the right neighbourhood.
Any help you can provide on displaying Previous/Next would be greatly appreciated!
Thanks for your time
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Next - Previous Link enablement - Webhelp transform
Hi,
Actually you are looking in the wrong place
On the <topicref>'s defined in the DITA Map you can add this attribute collection-type="sequence" to specify how its child references are related to each other.
See more details here:
http://docs.oasis-open.org/dita/v1.1/OS ... ommon.html
You can also add this attribute globally on the root <map> element.
See more details here:
http://docs.oasis-open.org/dita/v1.2/cd ... butes.html
Regards,
Radu
Actually you are looking in the wrong place

On the <topicref>'s defined in the DITA Map you can add this attribute collection-type="sequence" to specify how its child references are related to each other.
See more details here:
http://docs.oasis-open.org/dita/v1.1/OS ... ommon.html
You can also add this attribute globally on the root <map> element.
See more details here:
http://docs.oasis-open.org/dita/v1.2/cd ... butes.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 11
- Joined: Sat Jul 17, 2010 7:30 pm
Re: Next - Previous Link enablement - Webhelp transform
Good stuff Radu!
That did the trick and thanks for pointing me in the right direction. Playing around with all that logic in the xsl files isn't going to do anything if I dont' have those map attributes in the first place
Looks like now I just need to change the formatting of the links where we require it and hide the redundant Parent topic/Previous topic/Next topic links at the bottom of the web page and we will have what we are looking for.
Thanks again
That did the trick and thanks for pointing me in the right direction. Playing around with all that logic in the xsl files isn't going to do anything if I dont' have those map attributes in the first place

Looks like now I just need to change the formatting of the links where we require it and hide the redundant Parent topic/Previous topic/Next topic links at the bottom of the web page and we will have what we are looking for.
Thanks again

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