Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any easy to use Javascript XML library recommend? [closed]

Tags:

javascript

xml

I parse data using JSON in javascript, I find this is very convenient. But when I using XML, I need to look down every nodes. It seems that the XML is more complex. Is there any Javascript for erase some plain on creating and reading xml document? plx recommend.

like image 795
DNB5brims Avatar asked Nov 15 '22 14:11

DNB5brims


2 Answers

Sarissa is an ECMAScript library acting as a cross-browser wrapper for native XML APIs. It offers various XML related goodies like Document instantiation, XML loading from URLs or strings, XSLT transformations, XPath queries etc and comes especially handy for people doing what is lately known as "AJAX" development.

like image 55
non sequitor Avatar answered Dec 22 '22 12:12

non sequitor


I recommend JKL ParseXML It's a lightweight single-purpose library and works very well.

like image 33
walter Avatar answered Dec 22 '22 12:12

walter