arfo Posted May 14, 2012 Share Posted May 14, 2012 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> 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now