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

Re: Wrap changing element sequence into container: wit

Subject: Re: Wrap changing element sequence into container: with 'for-each-group'?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 30 Jan 2007 14:03:41 GMT
Re:  Wrap changing element sequence into container: wit
> I prefer to call, for each `pB4, a named template acting 

why? (If you are not careful you end up trying to implement the xslt
matching process in xslt which is a big job and unlikely to be
efficient)

> What I am having trouble to do is adding a container around a specific 
> (fixed-order) sequence of those `pB4 elements, say, `p[style="a"]B4 and 
> `p[style="b"]B4, 

The for-each construct posted earlier ought to work just changing the
criterion to style=('a','b')

> Does that make sense to you? If so, which way can I go to implement it? 
> (Tunnel parameters?) Or can you think of other approaches that might be 
> preferable?

do the grouping on the container element rather than having to pass
information from template to template about whether the element has
already been grouped.



David

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.