I've been having problems with the xpathapi. I've been trying to do a
wildcard search and according to all the documentation it's supported
yet even simple straight forward search isn't working. Can anyone help? 

 

Example :

<code>

import mx.xpath.XPathAPI;

 

x = new XML("<test thing='boo'><items name='blah'><item foo='bar'/><item
foo='blah'/></items></test>");

r = XPathAPI.selectNodeList(x,"/*/item");

 

for (var i in r) {

            trace(r[i]);

} 

</code>

 

Thanks in advance,

Lori-

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to