XHTML without related-links

Post here questions and problems related to editing and publishing DITA content.
Speeder21
Posts: 10
Joined: Thu Jul 07, 2011 7:04 pm

XHTML without related-links

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XHTML without related-links

Post 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
Speeder21
Posts: 10
Joined: Thu Jul 07, 2011 7:04 pm

Re: XHTML without related-links

Post 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
Post Reply