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
________________________________________________________________________
--~------------------------------------------------------------------
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>
--~--