anyone know of a very fast/light XML parser written in javascript? Looking for one for a project…
One of the big advantages of UnityScript is where it mimics Javascript. A very easy to use web programming language. To that end, I searched google for “javascript xml parser light” and wound up finding:
Where it may not be 100% compatible, you can adapt web Javascript for Unity rather easily.
This page:
http://www.levelthreesolutions.com/jsxml/test.html
Shows some of the different time comparisons from it to other parsers. Just a thought. Building your own is not that bad. IMO. I have done it before. That way, it is as light weight as you can get it.
thanks for the link. I’ll try this out… just hate to duplicate work that’s already done if possible…
Thanks for link…take a try~
You can try SoftXpath, it is a small cross browser JavaScript library written for web developers who deals with XML parsing/querying on client side. With it’s help you will be able to query complex XML documents using powerful Xpath expressions.