Jump to content

arfo

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by arfo

  1. 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>
×
×
  • Create New...