问题描述
我们已经设置Web服务的,我们必须做出对客户方请求(发送请求,以获得响应的杰森格式,并通过解析XML文档 - 具有XSLT支持将是巨大的)。
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).
我们需要一个JavaScript库,将独立负责上述所有工作,并应处理浏览器兼容性问题。
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.
感谢。
推荐答案
检查 Sarissa的库出来。它带来了很多的伪标准(在每一个浏览器,但IE浏览器实现)的XML API的Internet Explorer,如的DOMParser,XMLSerializer的,XSLTProcessor中。
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.
这篇关于Javascript的XML解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!