Page 1 of 1

XHTML without related-links

Posted: Tue Sep 06, 2011 6:21 pm
by Speeder21
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.

Re: XHTML without related-links

Posted: Tue Sep 06, 2011 8:03 pm
by sorin_ristache
Hello,

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,
Sorin

Re: XHTML without related-links

Posted: Wed Sep 07, 2011 9:40 am
by Speeder21
Hi,

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.

Regards,
Vladis