Dear David (cc xsl-list),
Thank you for the quick response.
isn't this also a problem in the first rubric of the first block,
which also has a nested lb ?
Yep. I'd overlooked that. It breaks there, too.
So if for example you want to split on <lb/> putting each row
into an html <tr><td>...</td></tr> then if <rubric> is being
translated to (say) <span> you presumably need to force it
to close at the <lb/> but restart afterwards.
...
that's a bit harder one way is to do a first pass that turns
everything into empty (milestone) elements denoting the
start and end of elements, then it is all on one level and you
can use grouping to reconstruct the re-ordered tree.
Got it. Thanks. Yes, I need to apply templates to the subelements (not visible
in the stripped-down example I posted originally). I'll try taking two passes,
flattening completely in the first and rebuilding in the second.
Best,
David (djbpitt(_at_)pitt(_dot_)edu)
--~------------------------------------------------------------------
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>
--~--