views:

500

answers:

1

I'm parsing a XML string into XMLDocument object. I want to search for a specific node using XPath technology by using XPathQuery.execQuery() - this function returns new XML object which means I need to convert it to a different XMLDocument object and lose the reference, how can I do that without loosing the reference?

I'm using this XPath library of AS3.

A: 

Amarghosh has a good point. why aren't you using e4x ? here is the livedocs documentation for it http://livedocs.adobe.com/flex/3/html/help.html?content=13%5FWorking%5Fwith%5FXML%5F01.html

TheBrain