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

您现在的位置是:虫虫源码 > Java > xml-files-processing-get-element

xml-files-processing-get-element

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

资 源 简 介

The program reads xml document provided as input parameter or all documents if the input is a directory, finds a specified tag, if a value for this tag is provided, compares the value of the found tag with the provided, if they match, create a new xml document containing complete list of tags and their values of the parent tag for one specified on input and all further parent tags without the content (to preserve the structure of the original document). If the tag has been found multiple times, each element goes into a separate file. If no value for the tag has been provided, the comparison will be skipped, I mean, if the tag has been found, its block goes into the output file. ## Run: ## The program can be run from command line or the processing module code can be used as a plugin. run: java -jar CutPatternBlock-0.0.1-SNAPSHOT.jar input_file_or_dir output_dir tag [value] What is it useful for? The code originally has been designed fo
VIP VIP
0.173671s