Not suggesting you use this, but this blog post may shed some light on
the reasons your XmlSearch is returning an empty array:

http://fusion.dominicwatson.co.uk/2008/03/xmlsearch-and-default-namespaces.html

Dominic

On 7 July 2011 20:43, Sean Henderson <[email protected]> wrote:
>
> Having problems performing a subsequent XML search on a array item that looks 
> like XML and was produced from a previous XML search? Basic XPath strings 
> returning empty arrays?
>
> Then try removing any xhtml declaration attributes, in paricular from the 
> base node, in the array item prior to xmlSearch().  This fixed where I was 
> not getting any results back from xmlSearch() for a known XML element even 
> using the most basic of XPath criteria.
>
> The takeaway here is that even though isXML() may return true, that does not 
> mean xmlSearch() will work as expected/hoped/described.
>
> Sean
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346155
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to