xihuyu20000 / XpathGenerator

Tool to generate Xpaths for the given XML and JSON files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XpathGenerator

This tool will generate Xpaths for the Given Json and Xml files , and print them in the console.It will take multiple keys and print them with index

I have made some changes in the java-json.jar to pick "content" as key in order to print content as node in the generated xpaths.

HOW TO USE :: Copy the .jar files and the library, run the below command :

Json:: java -cp XpathGenerator.jar XpathGenerator -json test.json

Xml :: java -cp XpathGenerator.jar XpathGenerator -xml test.xml

Sample Output :: java -cp XpathGenerator.jar XpathGenerator -json ../data.json

About

Tool to generate Xpaths for the given XML and JSON files.


Languages

Language:Java 100.0%