Page 1 of 1

Remove line feed from output webhelp and xhtml transformatio

Posted: Wed Jun 26, 2013 11:22 pm
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.

Re: Remove line feed from output webhelp and xhtml transform

Posted: Thu Jun 27, 2013 5:23 am
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"/>