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

Processing multiple lists

Subject: Processing multiple lists
From: "Emerson, Matt" <Matt.Emerson@xxxxxxx>
Date: Tue, 6 Sep 2005 14:22:43 -0400
xml multiple lists
Hello,

I have a document madeup of 3 lists of nodes that looks something like
this...

<list1>
	<node1 id=1>....stuff....</node>
	<node1 id=1>....stuff....</node>
	...
	<node1 id=N>....stuff....</node>
</list1>
<list2>
	<node2 id=1>....stuff....</node>
	<node2 id=1>....stuff....</node>
	...
	<node2 id=N>....stuff....</node>
</list2>
<list3>
	<node3 id=1>....stuff....</node>
	<node3 id=1>....stuff....</node>
	...
	<node3 id=N>....stuff....</node>
</list3>

I have some transforms I want to apply to the document based on the
content stored in list2.  However, I also want to do some processing on
list1 and list3 based upon what happens in list2.  For instance, if I
add a node to list2 at position N-1, I want to add a new node to lists1
and lists3 and the same for deleting a node at the same position.

It occurs to me that while processing the contents of list1 and list3, I
could just test the contents of list2 to see if some action is required.
However, it seems wasteful to me to run the same test three times.

Is there someway I could store the results of testing so that I could
use it while processing each list?

Thanks,

Matt

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.