[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: grouping question
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@xxxxxxxx)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|