Remove blank element while copying
i'm using below code to copy from one XML to another XML.
Code:
<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"/>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Whist copying - i need to remove element which does not have value in it.. how to do this??
Thanks
Venu
Venu Bharadwaj
"Dream it. U can do it!"