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

Muenchian Grouping and Sum

Subject: Muenchian Grouping and Sum
From: Bret Gillan <bret.gillan@xxxxxxxxx>
Date: Mon, 3 Oct 2005 08:18:51 -0400
bret gillan
Hiya folks. I'm learning the ropes of XSLT 1.0 using MSXSL v1.0.0.1and
I'm having a real hard time with the following problem. Given the XML:

<ItemList>
<Item>
<PLU>1234678</PLU>
<Qnt>4</Qnt>
<Price>17.49</Price>
</Item>
<Item>
<PLU>1234670</PLU>
<Qnt>5</Qnt>
<Price>17.49</Price>
</Item>
<Item>
<PLU>1234678</PLU>
<Qnt>2</Qnt>
<Price>17.49</Price>
</Item>
</ItemList>

I'm trying to group these items by PLU using Muenchian grouping, which
I know how to do, but I'm also supposed to sum the Qnt and the Price,
which is where I fail. Could someone show me how it's done? Thanks.

-Bret

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.