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

Re: Grouping using concatenated key

Subject: Re: Grouping using concatenated key
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 11 Dec 2006 16:20:26 GMT
Re:  Grouping using concatenated key
   <xsl:template match="/">

so you are at the document root. in a well formed document there can
only be exactly one element child of / so

 <xsl:for-each
select="BillDetail[

you are for-eaching over at one element so grouping is not going to be
very interesting.

i suspect that you have multiple BillDetail elements and they have a
parent element, in which case you should (or could) put the grouping
code  in the template for that element.

Please see the posting guidelines at the list home page, which suggests
posting _complete_  _small_ examples. Your posted input was quite large
but has lots of detail not relevant to the problem   (<FROM_CITY> and
friends) but isn't a well formed document as the two elements have no
parent element so peopel can't post code that actually runs on your
example.

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.