Subject: Re: [xsl] Generating multi-level flexible recursive nested lists From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 6 Jun 2006 22:47:21 +0100 |
Just to confirm, BLevel1 </li> <ol> <li> aLevel2 Is that really what you want, with the nested <ol> being a sibling of the li (rather than a child),more like BLevel1 </li> <ol> <li> aLevel2 </li> .. </ol> </li> The first form isn't valid html, although of course xslt doesn't care about that and would generate whatevr you ask for. This is a more or less standard example of "xslt positional grouping" and searching teh archives of this list for that should lead you to the right solution. (Like many grouping problems the syntax is a bit clearer in xslt2 if that is an option) David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Generating multi-level flexib, Devang Patel | Thread | Re: [xsl] Generating multi-level fl, Devang Patel |
[xsl] Generating multi-level flexib, Devang Patel | Date | Re: [xsl] Generating multi-level fl, Devang Patel |
Month |