XHTML without related-links

Posts: 10

XHTML without related-links

Tue Sep 06, 2011 6:21 pm

Hi folks,

I have problem with related links in XHTML. I need remove it from XHTML because I need only clear text. Have anybody experience with it ?

I look for in xsl dita2xhtml.xsl and dita2xhtmlImpl.xsl but i dont find anythink.

btw.: Hu Radu, how are you today ? :)

thx for answer.
Posts: 4144

Re: XHTML without related-links

Tue Sep 06, 2011 8:03 pm


You can remove the Related links section from the XHTML output by commenting the entire content of the body of the template

Code: Select all

<xsl:template match="*[contains(@class,' topic/related-links ')]" name="topic.related-links">

from line 161 of DITA-OT/xsl/xslhtml/rel-links.xsl.

Best regards,
Posts: 10

Re: XHTML without related-links

Wed Sep 07, 2011 9:40 am


Thx very much Sorin. I dont look for in this file because I hope that I can do it only with modify one of two files which I wrote a post before.

So, work it ;)

Again THX.


Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 2 guests