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

Re: How can I get real path ?

Subject: Re: How can I get real path ?
From: "Amit Rekhi" <amitr@xxxxxxxxxxxxx>
Date: Wed, 1 Jul 1998 10:15:45 +0530
get process path
Oisin,

>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

The reason why one would want to  inherit from the same element in the
architectural DTD, is so that <name> and <status> are considered as siblings
of the same type,so that when XSL works on the transformed document  the
following desired output is gotten :-

> 1 description
> 1.1 document
> 1.1.1 name
> 1.1.2 status
> 1.1.3 name


Am I right?
-----Original Message-----
From: Oisin McGuinness <oisin@xxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxx <xsl-list@xxxxxxxxxxxxxxxx>
Cc: oisin@xxxxxxxx <oisin@xxxxxxxx>
Date: Tuesday, June 30, 1998 11:47 PM
Subject: Re: How can I get real path ?


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


 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.