Extra line Break
I m trying copy the input as it is to the output using the following XSLT. But an extra linebreak is appearing for the comment.
----------------Input-------------------
<root>
<mapping sourcev ....>
<keylist>
..
</keylist>
....
-----------------Output--------------------
<root>
<mapping source=...>
<keylist>
..
------------------XSLT-----------------------
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" media-type="text/xml"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
--------------------------------------------------
Awaiting your response. Thanks in advance
Happy Weekend
Kanchan
|