Remove line feed from output webhelp and xhtml transformatio

Post here questions and problems related to editing and publishing DITA content.
eloralon
Posts: 38
Joined: Thu Oct 28, 2010 5:10 pm

Remove line feed from output webhelp and xhtml transformatio

Post by eloralon »

Hello,

I am currently transforming my DITA content to Webhelp and XHTML but I continue to get percent-encoded linefeeds 
 in my transformed content. How and where can I make to clean out the final content in Wbehelp and XHTML output files.

Here is an excerpt of a final html file:

Code: Select all

<ol class="ol"><li class="li">Glossary entries <a href="test.html" gloss-title="&#xA;        Test content goes here.&#xA;        (This is a simple test content.)&#xA;    "><dfn class="term">TEST </dfn></a> </li></ol>
The empty &#xA; affect my tooltip hovertext in the final document.

Thank you.
eloralon
Posts: 38
Joined: Thu Oct 28, 2010 5:10 pm

Re: Remove line feed from output webhelp and xhtml transform

Post by eloralon »

Never mind got a solution. I just had to clean my source XML before the transformation by setting indent to no in the following line:

Code: Select all

<xsl:output method="xml" doctype-public="-//OASIS//DTD DITA Glossary//EN" system="glossary.dtd" omit-xml-declaration="yes" indent="no"/>
Post Reply