[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Changing Attribute Value in all the ChildNodes at any level down the current node.
Subject: [xsl] Changing Attribute Value in all the ChildNodes at any level down the current node. From: "Animesh Sharma" <asharma@xxxxxxxxxxxxxxxx> Date: Thu, 27 May 2004 11:06:00 +0530 |
Hi, I have to remove a particular attribute (in following example it is "href") from all the ChildNodes of the particular node. I tried to write template something as follows: <xsl:template match="//body/namespace/form/snip/csf/td[position()=1]/table[position()=2]"> <xsl:apply-templates select="@*"/> <xsl:attribute name="href"/> <xsl:copy> <xsl:apply-templates select="*"/> </xsl:copy> </xsl:template> But it does not seems to work as I have expected. Thanks, Animesh
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] CLARIFICATION ON NAMESPACE, Arul Kumar | Thread | RE: [xsl] Changing Attribute Value , Andreas L. Delmelle |
RE: [xsl] exclude-result-prefixes i, Matt Frank | Date | RE: [xsl] Grouping into a table (fo, Daniel Joshua |
Month |