Changing Attribute Value in all the ChildNodes at any level down the current node.2004-05-26 22:36:00Hi,
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
|
|
||||||||||||||||