Use XPath query:

tmpNodes=XmlSearch(your_XmlDoc, '//[EMAIL PROTECTED]"Y"]');

Then loop through tmpNodes, it is an array.


-- 
 Serg

 

A> I need to search for all of the Nodes that an attribute X that equals Y,
A> then do something with each of those nodes.

A> Andy

A> -----Original Message-----
A> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
A> Sent: Saturday, September 03, 2005 1:47 PM
A> To: CF-Talk
A> Subject: Re: XML Tree Search

>> Does anyone have code that they would share that traverses
>> through every node in an XML structure?

A> umm... XMLSearch() ... What are you trying to accomplish? The answer
A> to that question might be more helpful.


A> s. isaac dealey     954.522.6080
A> new epoch : isn't it time for a change?

A> add features without fixtures with
A> the onTap open source framework

A> http://www.fusiontap.com
A> http://coldfusion.sys-con.com/author/4806Dealey.htm




A> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217303
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to