I've been investigating XmlSearch() and thought I'd share a few notes
for anyone interested.
 
XmlSearch() can behave similarly to Query of Queries - but not in its
original form. 
 
XmlSearch returns an array of matching XML nodes, and that array is not
search-able, however its elements ARE; e.g. 
    x = XmlSearch( xml, '/foo/bar[1]' );
    y = XmlSearch( x[1], 'baz' );
 
The really interesting thing is that CF's XPath behaves like a cursor in
the XML object - in the example above, you could search x for "/" and
get the whole document again.
 
Hope thats mildly interesting
Kam


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189035
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to