Subject: [xsl] Usage of RTF with Grouping and Count From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx> Date: Mon, 6 Dec 2004 06:06:29 -0800 (PST) |
In my stylesheet, I have a RTF variable which contains following xml tree. <val>agwore</val><desc>wore description</desc><totalquantity></totalquantity> <val>agwore1</val><desc>wore description1</desc><totalquantity>6</totalquantity> <val>agwore3</val><desc>wore description3</desc><totalquantity>7</totalquantity> <val>New1</val><desc>New description</desc><totalquantity> </totalquantity> <val>agwore1</val><desc>wore description1</desc><totalquantity>6</totalquantity> <val>agwore3</val><desc>wore description3</desc><totalquantity>7</totalquantity> <val>New2</val><desc>New2 description</desc><totalquantity> </totalquantity> <val>agwore</val><desc>wore description1</desc><totalquantity>6</totalquantity> <val>agwore3</val><desc>wore description3</desc><totalquantity>7</totalquantity> If you can see above "agwore" contains "agwore1 and 'agwore3" so its <totalquantity> should be agwore1's <totalquantity> and <agwore3>'s <totalquantity>. If you can see "New2", it contains "agwore" and "agwore3". So I want to display agwore with total quantity 13 and New2 with totalquantity 13+7= 20. I am not able to create a generic tenplate or RTF to get the total quantity. Can anybody suggest me how to find a good solution? regards, Ranjan __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XML/XSLT reading, Michael Kay | Thread | RE: [xsl] Usage of RTF with Groupin, Michael Kay |
Re: [xsl] Extracting the grouping f, Kevin Jones | Date | RE: [xsl] Usage of RTF with Groupin, Michael Kay |
Month |