Subject: Re: How can I get real path ? From: Oisin McGuinness <oisin@xxxxxxxx> Date: Tue, 30 Jun 98 13:36:00 -0400 |
Concerning the messages of Marsh and Barre, surely all one needs to do is process the given XML document with an architecturally aware process, where <name>, and <status> inherit from the same element in the architectural DTD, and have XSL report the child number in the transformed document. Or will one not be allowed to transform documents before styling them? Oisin McGuinness Jonathan Marsh said....<jmarsh@xxxxxxxxxxxxx> >>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 (End included message) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: How can I get real path ?, Jonathan Marsh | Thread | RE: How can I get real path ?, Jonathan Marsh |
Quickie question. XML = interchange, moliphan | Date | Re: How to do XML to XML translatio, Chris Maden |
Month |