问题
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.
回答1:
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_Working_with_XML_01.html
来源:https://stackoverflow.com/questions/1608969/how-can-i-use-xpath-with-as3-and-get-a-result-that-still-reffereced-to-the-xmldo