xsl-list
[Top] [All Lists]

Re: [xsl] a table-of-contents for XHTML problem

2008-06-15 12:01:17
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>