|
Subject: Re: [xsl] a table-of-contents for XHTML problem From: Florent Georges <lists@xxxxxxxxxxxx> Date: Sun, 15 Jun 2008 20:58:32 +0200 (CEST) |
Ivan Shmakov wrote:
Hi
> I wonder, what would be the simplest way to transform a
> sequence
> of sibling nodes, e. g.:
> <body>
> <h1>Chapter</h1>
> <h2>Section</h2>
> <h3>Subsection</h3>
> <h3>Another subsection</h3>
> <h2>Another section</h2>
> </body>
> into a nested list
You have to use recursive grouping. I think someone (I think Ken)
posted a full solution to this problem on the list a few months ago.
You can dig the archives at xsl.markmail.org.
Regards,
--drkm
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] a table-of-contents for XHTML, Ivan Shmakov | Thread | Re: [xsl] a table-of-contents for X, G. Ken Holman |
| [xsl] a table-of-contents for XHTML, Ivan Shmakov | Date | Re: [xsl] a table-of-contents for X, G. Ken Holman |
| Month |