首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 基于XPath的文本提取

基于XPath的文本提取

资 源 简 介

Welcome to Shawty Shawty is an XPath-based text extractor written in Groovy. The idea is to extract a Map/Table of fields from any marked-up source, like X/HTML, XML, SGML, etc. Building You"ll need Groovy 1.6+, Java 1.5+, and Maven 3. Once you"ve downloaded and installed all that stuff, running: $ mvn test package ...will produce shawty-{version}.jar in the "target" sub-directory of the Shawty tree. Example Usage See $SHAWTY_DIR/src/test/groovy/com/google/shawty/XPathExtractorTests.groovy for details, but in a nutshell, XPathExtractor is what you"ll primarily use, say, to extract some text from a web page: ``` def xml = """ Sample Page

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 11 1小时前 成为了本站会员

  • 开心快活人 4小时前 成为了本站会员

  • 晋财 5小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

0.178217s