xml-paths
If you have a large xml file, it can be useful to try to understand the structure by getting a map of all the possible element paths.
An easy way to do that is by using this tool.
Installation
Usage
Just run the command and give it a file to parse.
For example, if we have an xml file at path/to/my/xml_file.xml
that looks like
Gina
Doug
Thanks
Lunch was amazing!
Doug
Gina
Thanks
Thanks Doug! I liked it too -- that's a definite repeat!
,
we run
to get
/
/notes
/notes/note
/notes/note/body
/notes/note/from
/notes/note/heading
/notes/note/to