|
Subject: RE: [xsl] generate full xpath name to an attribute? From: Ray Tayek <rtayek@xxxxxxxxx> Date: Thu, 03 Apr 2003 01:02:34 -0800 |
Try http://www.dpawson.co.uk/xsl/sect2/N6077.html#d5945e18
HTH DaveP.
<xsl:template name="foo">
<xsl:for-each select="ancestor-or-self::*">
<xsl:text>/</xsl:text>
<xsl:value-of select="name()"/>
</xsl:for-each>
<xsl:value-of select="."/>
</xsl:template>i get: /input/Nodes/Node/Point3.1415926535897 what i want is: /input/Nodes/Node/Point@x (i think).
--- ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work vice chair orange county java users group http://www.ocjug.org/ hate spam? http://samspade.org/ssw/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] generate full xpath name , Ray Tayek | Thread | RE: [xsl] xsl:element namespace iss, Michael Kay |
| RE: [xsl] generate full xpath name , Ray Tayek | Date | Re: [xsl] generate full xpath name , David Carlisle |
| Month |