Saxonica Saxon
Posted: Tue Nov 30, 2021 7:52 pm
We are attempting to remove an parent element that contains a child element of prodTypeCode='FFS'
When using Saxonica Saxon script, I have the script styled as followed :
But it will not remove the node that is tagged with FFS.
What am I doing wrong?
I will respond to this message with the code that I am applying this against...
When using Saxonica Saxon script, I have the script styled as followed :
Code: Select all
<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:strip-space elements="*"/>
<!-- identity transform -->
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="*[item/prodTypeCode='FFS']" />
</xsl:stylesheet>
What am I doing wrong?
I will respond to this message with the code that I am applying this against...