That was my first though-- duplicate it so it is passed by value instead of reference...
But I was thinking you would want to duplicate the application variable BEFORE passing it into the xmlsearch. ~Brad ----- Original Message ----- From: "Jochem van Dieten" <[EMAIL PROTECTED]> > Does the problem go away if you use: > <cfset elementArray = Duplicate(XMLSearch(APPLICATION.myXML, > "/pagesettings/top_navigation[3]"))> > > Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310504 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

