I have a style-sheet that I am using to remove certain elements based on the value of an other element. However, it is not working ...
Sample Input XML
Here is a complete XSLT transformation -- short and simple (no variables, no xsl:if, xsl:choose, xsl:when, xsl:otherwise):
xsl:if
xsl:choose
xsl:when
xsl:otherwise
When this transformation is applied on the provided XML document:
1999 ABC Testing Ok
the wanted, correct result is produced:
1999 ABC