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

some help, please...

Subject: some help, please...
From: Adam Wilson <awilson@xxxxxxx>
Date: Wed, 15 Nov 2000 12:06:34 -0500
adam wilson
Essentially, I need to know how to do grouping.  We are a Microsoft shop,
and we would prefer the solution come from MSXML2 or 3.

I need to change:


<rows>
	<row company="FL - 1234" type="new" amount="5" count="10">
	<row company="FL - 1234" type="new" amount="10" count="8">
	<row company="FL - 1234" type="new" amount="15" count="5">
	<row company="FL - 1234" type="new" amount="20" count="4">
	
	<row company="FL - 1234" type="recharge" amount="5" count="6">
	<row company="FL - 1234" type="recharge" amount="10" count="5">
	<row company="FL - 1234" type="recharge" amount="15" count="4">
	<row company="FL - 1234" type="recharge" amount="20" count="3">
	
	<row company="FL - 2345" type="new" amount="5" count="20">
	<row company="FL - 2345" type="new" amount="10" count="8">
	<row company="FL - 2345" type="new" amount="15" count="15">
	<row company="FL - 2345" type="new" amount="20" count="9">
	
	<row company="FL - 2345" type="recharge" amount="5" count="25">
	<row company="FL - 2345" type="recharge" amount="10" count="16">
	<row company="FL - 2345" type="recharge" amount="15" count="11">
	<row company="FL - 2345" type="recharge" amount="20" count="4">
	
	<row company="FL - 3456" type="new" amount="5" count="13">
	<row company="FL - 3456" type="new" amount="10" count="1">
	<row company="FL - 3456" type="new" amount="20" count="4">
	
	<row company="FL - 3456" type="recharge" amount="5" count="10">
	<row company="FL - 3456" type="recharge" amount="10" count="8">
	<row company="FL - 3456" type="recharge" amount="15" count="5">
	<row company="FL - 3456" type="recharge" amount="20" count="4">
</rows>


into:


<companies>
	<company name="FL - 1234">
		<type name="new">
			<amount name="5" count="10" />
			<amount name="10" count="8" />
			<amount name="15" count="5" />
			<amount name="20" count="4" />
		</type>
		<type name="recharge">
			<amount name="5" count="6" />
			<amount name="10" count="5" />
			<amount name="15" count="4" />
			<amount name="20" count="3" />
		</type>
	</company>

	<company name="FL - 2345">
		<type name="new">
			<amount name="5" count="20" />
			<amount name="10" count="8" />
			<amount name="15" count="15" />
			<amount name="20" count="9" />
		</type>
		<type name="recharge">
			<amount name="5" count="25" />
			<amount name="10" count="16" />
			<amount name="15" count="11" />
			<amount name="20" count="4" />
		</type>
	</company>

	<company name="FL - 3456">
		<type name="new">
			<amount name="5" count="13" />
			<amount name="10" count="1" />
			<amount name="15" count="0" />
			<amount name="20" count="4" />
		</type>
		<type name="recharge">
			<amount name="5" count="10" />
			<amount name="10" count="8" />
			<amount name="15" count="5" />
			<amount name="20" count="4" />
		</type>
	</company>
</companies>

Adam Wilson
Web Applications Developer
Electronic Payment Exchange (EPX)
(302) 326-0700x2163
100 West Commons Blvd., Suite 214
New Castle, DE  19720


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.