[Home] [By Thread] [By Date] [Recent Entries]
At 11:09 AM 4/3/03 +0100, you wrote:
> i get: /input/Nodes/Node/Point3.1415926535897 > what i want is: /input/Nodes/Node/Point@x (i think). yes, i got the following to work: <xsl:template name="foo">
<xsl:for-each select="ancestor-or-self::*">
<xsl:text>/</xsl:text>
<xsl:value-of select="name()"/>
</xsl:for-each>
<xsl:text>@</xsl:text>
<xsl:value-of select="name()"/>
</xsl:template>and since i *know* that everything i am interested in is an attribute, i can make progress now. > and i will still have the subscript problem. as Node can occur multiple times. i will look for them. thanks for your assustance. --- 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/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



