How to Eliminate empty tags in target XML in XSLT
To exclude empty tag in output XML from transformation apply below condition in transformation
<xsl:if test="(client:result3 != not(string(.)))">
<client:result3>
<xsl:value-of select="/client:process/client:input3"/>
</client:result3>
</xsl:if>
Comments
Post a Comment