开发者

How can I use XPath with AS3 and get a result that still reffereced to the XMLDocument object?

开发者 https://www.devze.com 2022-12-09 08:56 出处:网络
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 whi开发者_开发技巧

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 whi开发者_开发技巧ch 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号