[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How can I get real path ?
You can't. There is no way to ask for the number of a child relative to elements of ANY type. Big hole, huh? -----Original Message----- From: Benoît BARRE [mailto:benoit.barre@xxxxxxxxxx] Sent: Monday, June 29, 1998 3:22 AM To: xsl-list@xxxxxxxxxxxxxxxx Subject: How can I get real path ? Imagine I have the following XML instance : <?xml version="1.0"?> <description> <document> <name>a name</name> <status>a status</status> <name>a name</name> </document> </description> I want to get something like : 1 description 1.1 document 1.1.1 name 1.1.2 status 1.1.3 name 'path(this)' can't give me what I want. path gives me : 1 description 1.1 document 1.1.1 name 1.1.1 status // <= that's not what I want I can't figure out how to do that. Is there any other solution ? Note : I use MSXSL.Exe. benoit.barre@xxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|