OgaRuby 的 XML/HTML 解析器
Oga 是一个 Ruby 的 XML/HTML 解析器。
示例代码1:
require 'oga' require 'net/http' body = Net::HTTP.get(URI.parse('http://www.reddit.com/')) document = Oga.parse_html(body) titles = document.xpath('//div[contains(@class, "entry")]/p[@class="title"]/a/text()') titles.each do |title| puts title.text end
示例代码2:
Oga.parse_xml('<people>foo</people>', :strict => true) # works fine Oga.parse_xml('<people>foo', :strict => true) # throws an error
评论
kXMLJ2ME 的XML 解析器
kXML是一个兼容XMLpull的XML语法分析程序,使用Android应用开发。它有一个非常独特的DOM操作方法和被称为Pull的语法分析方法。它有以下特性:·支持XML名称空间·用"松散"模式分析
kXMLJ2ME 的XML 解析器
0
GDataXMLiOS的XML解析器
这是一套Google开发的DOM方式XML解析类库,支持读取和修改XML文档,支持XPath方式查询。GDataXML是iOS下的一款轻量级XML解析器,只包含两个文件GDataXMLNode.hGD
GDataXMLiOS的XML解析器
0
XMLDOMNode.js 的 xml 解析器
xmldom是目前node环境下最靠谱的xml解析器。------------------xmldom是用JavaScript 实现的Node.js,Rhino和浏览器的W3CDOM,完全兼容W3CD
XMLDOMNode.js 的 xml 解析器
0
xml-utilitiesJava的XML解析器
xml-utilities是一个Java的XML工具包,提供高级的API用于解析XML数据。示例代码:Elementelmt=DomEditor.getElement("chapter",doc);E
xml-utilitiesJava的XML解析器
0
chtml-matcherLisp的HTML解析器
chtml-matcher 是一个 Lisp 的库用来从 HTML 文档中抽取信息,它使用 clos
chtml-matcherLisp的HTML解析器
0