xsl-list
[Top] [All Lists]

RE: Xpath of an attribute

2004-04-27 02:30:00
Hi,

<xsl:template 
match="//body/namespace/form/snip/csf/div/center/p[position()=
1]/a[position()=1][(_at_)href]"/>

[...]

This removes the anchor element.. but I just want to remove 
the "href" attribute of element.

<xsl:template 
match="//body/namespace/form/snip/csf/div/center/p[1]/a[1]/@href"/>

Cheers,

Jarno


<Prev in Thread] Current Thread [Next in Thread>