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:11:14 +0530
Benoît,

>'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
>
Path() will not , coz path() returns an array of numbers including number of
the element w.r.t. all of its siblings (of its type)......... (Read the
MSXSL tutorial Lesson#23)
Therefore name and status will be given the same number 1.1.1

>I can't figure out how to do that. Is there any other solution ?
Well, u could use XMLDSO to load the XML file, then access the parse
tree(containing the XML elements at each level) using scripts and
programatically generate the numbering functionality....

            Hope it helps,


AMIT
Current Thread