[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: grouping question

Subject: RE: grouping question
From: "Birnbaum, David J" <djbpitt@xxxxxxxx>
Date: Thu, 25 Nov 2010 18:41:23 -0500
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)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.