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
Change your xsl:if as follows:
xsl:if
and you can get rid of xsl:variable.
xsl:variable