Re: XML hierarchy

Subject: Re: XML hierarchy
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Wed, 09 Feb 2000 09:03:55 -0500
At 01:39 PM 2/9/2000 +0100, Jany Quintard wrote:
...I want to build a string
containing the herarchical situation of an element : in plain english, for
a division, I want to build the chapter number of this division, as in :

1. Chapter
1.1 Subchapter
1.2 Subchapter
1.2.1 AndSoOn
...

This looks to me an awful lot like Ken Holman's Showtree stylesheet. It's at:
http://www.cranesoftwrights.com/resources/showtree/index.htm
Versions available for both "official" XSLT and the-language-known-as-XSL-built-into-IE5. Will probably require some tweaking if you don't want to see labels like "Element" on your chapter/subchapter headings.


=============================================================
John E. Simpson
simpson@xxxxxxxxxxx
-------------------------------------------------------------
I put contact lenses in my dog's eyes. They had little
pictures of cats on them. Then I took one out and he ran
around in circles.  (Stephen Wright)


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread