Windows 上的 node.js xml 解析器 [英] node.js xml parser on windows

查看:30
本文介绍了Windows 上的 node.js xml 解析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 上使用 node.js.我想评估 xpath,所以我正在寻找可以执行此操作的 node.js xml 模块(不是 sax).到目前为止,我找到了 Libxmljs 但我无法在 Windows 上安装它.

I use node.js on windows. I want to evaluate xpath so I'm looking for a node.js xml module that can do this (not sax). So far I found Libxmljs but I am not able to install it on windows.

有什么想法吗?

我不想使用 cygwin,因为会有更多的人在这方面工作,而我的经验是 cygwin 会令人困惑.

I prefer not to use cygwin as more people will work on this and my experience is that cygwin will be confusing.

这是解决方案

推荐答案

我找到了 - 使用 xmldom使用 xpath.js.完整详情在这里.

I found it - use xmldom with xpath.js. Full details are here.

这篇关于Windows 上的 node.js xml 解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆