摘要:
var xpath = require('xpath'); //引用xpath包 var dom = require('xmldom-silent').DOMParser;//引用xmldom包 var request=require('request'); var fs=require('fs'); var urlencode = require('urlencode');//引用url解码和... 阅读全文
摘要:
测试xpath的工具 http://www.freeformatter.com/xpath-tester.html#ad-output http://www.xpathtester.com/test 教程 http://www.w3school.com.cn/xpath/xpath_syntax.a 阅读全文
摘要:
var fs = require('fs');var xpath = require('xpath');var dom = require('xmldom').DOMParser; // Read the file:var data = fs.readFileSync(file, { encodin 阅读全文