This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

modify the value of an existing attribute in XSLT

 
kay lin
Ranch Hand
Posts: 132
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all:
I have the following XML document

Now, I want to Modify the "name" attribute of the <schema-connection-node> tag, I would like to know if the following syntax is correct


<xsl:template match="schema-root-node/schema-connection-node@name">
<!--Needs to change the attribute for this-->
<xsl:attribute name="name">
<!--do something with the 'name' attribute-->
</xsl:attribute>
</xsl:template>
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic