How can I get real path ?

Subject: How can I get real path ?
From: Benoît BARRE <benoit.barre@xxxxxxxxxx>
Date: Mon, 29 Jun 1998 12:21:56 +0200

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


Current Thread