xsl:output and removing space in XML
Hi All,
Following is my Output XML
<authorgrp>
<author>
<fname>clive</fname>
<x> </x>
<surname>webb</surname>
</author>
</authorgrp>
Used XSL
<xsl:output method="xml" encoding="iso-8859-1" indent="yes" omit-xml-declaration="yes" />
Required XML
<authorgrp>
<author><fname>clive</fname><x> </x><surname>webb</surname></author>
</authorgrp>
As you see in the output xml elements and contents were indent due to xsl:output with indent="yes" if it was "no" the output come in a single line. But my request is that I would like to get the out as shown in required XML were I would like to pass the syntax in XSLT, is there any syntax that we can pass? .
Any help would be appreciated.
Thanks & Regards,
ROCXY.
__________________
Thanks,
Rocxy.
|