[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: generate full xpath name to an attribute?

Subject: RE: generate full xpath name to an attribute?
From: Ray Tayek <rtayek@xxxxxxxxx>
Date: Thu, 03 Apr 2003 01:02:34 -0800
xpath subscript
At 08:37 AM 4/1/03 +0100, you wrote:
Try http://www.dpawson.co.uk/xsl/sect2/N6077.html#d5945e18

HTH DaveP.

using as they say:


        <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).

maybe xmpspy has a bug, don't know :(

and i will still have the subscript problem. as Node can occur multiple times.

thanks

---
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.