[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|