问题
We've sets of webservices and we have to make request on clientside (sending request to getting response in a jason format, and parsing XML document through - having XSLT support would be great).
We need a Javascript library which will be independently responsible to all the above work and should handle browser compatibility issues.
I did some googling and at this moment this looks as an appropriate option to catch
Please, suggest if this would be a fair choice or am I missing anything.
Thanks.
回答1:
Check Sarissa library out. It brings many pseudo-standard (implemented in every browser but IE) XML APIs to Internet Explorer, such as DOMParser, XMLSerializer, XSLTProcessor.
回答2:
I know one a XML parser that is provided by openjs.
Please do visit the site
There is one library provided by JASON. You can find more details here
来源:https://stackoverflow.com/questions/1124654/javascript-xml-parser