Jump to content

removing one attribute


Recommended Posts

I am trying to achieve the following. All FUNCTION-CONNECTORS nodes are placed under the correct "parent" - OKAll other elements under CONNECTORS shall remain - OKAll attributes under FUNCTION-CONNECTOR shall remain except for @ParentDFT - Fail How do I do that?

<xsl:template match="CONNECTORS">	<xsl:variable name="DFTuuid" select="../@UUID"/>	<xsl:copy>		  <xsl:apply-templates select="@*"/>		  <xsl:apply-templates select="//FUNCTION-CONNECTOR[@ParentDFT=$DFTuuid]"/>	 </xsl:copy></xsl:template>

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...