Ona slightly related topic Xmlsearch returns a reference(array of) to
the Node(s) it finds it does not return a copy of those nodes...not
sure if that is something that has been discussed to much extent....

Adam H

On Thu, 30 Dec 2004 17:08:42 -0700, Figy, Kam <[EMAIL PROTECTED]> wrote:
> 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
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:189554
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