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

RE: Recursion and for-each-group (XSLT 2.0)

Subject: RE: Recursion and for-each-group (XSLT 2.0)
From: JBryant@xxxxxxxxx
Date: Wed, 6 Apr 2005 09:23:32 -0500
RE:  Recursion and for-each-group (XSLT 2.0)
> One question about the structure of your data: is it possible to
> encounter

> <indexentry term="dog">
>   <indexentry term="leg">
> </indexentry>
> <indexentry term="table">
>   <indexentry term="leg">
> </indexentry>
> 
> and if so, are the two references to "leg" to be combined, or not?
> This doesn't arise in your sample, so I can't tell.

Yes, that can happen. No, they shouldn't be combined.

If it helps any, this is the index for a book. The larger stylesheet of 
which this solution will eventually be a part is for software user guides. 
Ideally, it should support anything you might see in the average index.

I have a working solution for three levels of index entries, because 
that's all I ever use. However, the problem of arbitrarily deep nested 
grouping interests me in its own right.

Thanks for the help.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

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.