additonal tabs and lines in output after XSL
Posted: Sun Mar 13, 2011 11:22 am
Hi,
I am using XSL to transform one XML document to another ready of import into a software package. The original XML has indent tabs prior to the element
Original Input:
XSLT Output:
Required Output:
Without using <xsl:strip-space elements="*"/> which puts everything on one line, how can I suppress the tabs and extra lines in XSL? Or is this something that has to be done outside of XSL with either a text editor script or even within oXygen.
Your comments and suggestions most welcome.
I am using XSL to transform one XML document to another ready of import into a software package. The original XML has indent tabs prior to the element
Original Input:
Code: Select all
<para role="noindent">Tons of information</para>
<para role="noindent">Lots of details</para>
Code: Select all
<first-para>Tons of information</first-para>
<second-para>Lots of details</second-para>
Code: Select all
<first-para>Tons of information</first-para>
<second-para>Lots of details</second-para>
Your comments and suggestions most welcome.