خرید بک لینک

Vote count: 0

I need to get some XML node by it's XPath, how I can do it?

I tried to use this library https://github.com/djcsdy/haxe-xpath, but something wrong https://github.com/djcsdy/haxe-xpath/issues/26

for my task xml-fast isn't good solution, because it looks "slightly worse" than XPath, I think:

js (xpath):

xml_doc.get('//project/classpaths/class[@path="' + src_path + '"]')

haxe (xml-fast):

(new Fast(xml_doc))).node.project.node.classpaths.nodes.class.filter(function (x:Fast) retu x.has.path ? x.att.path == src_path : false)

thanks

asked 5 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 10 خرداد 1395 ساعت: 21:51

صفحه بندی