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

您现在的位置是:虫虫源码 > 其他 > A diff-like tool for XML

A diff-like tool for XML

  • 资源大小:25.63 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: scala xml test diff

资 源 简 介

Checks that an XML document is included in another document. It is handy when testing an application output against a document where element order is different (GData and Atom specs are examples of specifications where element order is unimportant). It has a relaxed notion of containment: element order is ignored. whitespace is trimmed. comments are ignored. specific elements can be ignored by passing XPath-like paths on the command line. text nodes (element and attribute content) can be ignored by passing "-notext" on the command line. Only document structure is checked. You need a working Scala installation to run this program. Then you can run it like this: scala -cp xmldiff.jar com.google.xmldiff.Main feed.xml feed-out.xml -i feed/totalResults feed/startIndex feed/itemsPerPage feed/entry/published //updated /feed/entry/content The above command will
VIP VIP
0.167216s