[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Multi level grouping question
I want to group 3-4 levels down. I get the 1-2 levels working from reading Jeni's postings but I can't get the 3rd level and so on to work. Heres the XML: <claim claimable="no"> <vendorcode>01H0011</vendorcode> <vendorname>TYCO PLASTICS</vendorname> <vendorontime> 50 </vendorontime> <cons> 101 </cons> <carrier>GODFREY TRUCKING</carrier> <carrierontime> 100 </carrierontime> <loadnum>163678</loadnum> <po>1253379</po> <due>1/27/03 </due> <original>1/28/03 8:30:00 AM </original> <scheduled>1/28/03 8:30:00 AM </scheduled> <actual>1/28/03 9:27:00 AM </actual> <vendstat>On Time</vendstat> <carrierstat>On Time</carrierstat> </claim> My keys are thus: <xsl:key name="vendor-list" match="vendorname" use="."/> <xsl:key name="vendorcode-list" match="vendorname" use="concat(., '+', ../vendorcode)"/> <xsl:key name="loadNumGroup" match="vendorname" use="concat(.,'+',../vendorcode,'+',../loadnum)"/> I am trying to group by vendor name then vendor code and finally load number. The first 2 levels work out but the third doesn't. Any help please. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|