|Pathologically Eclectic Rubbish Lister
How can I browse & list XPATH of a XML Message?by MDRI (Initiate)
|on Oct 30, 2015 at 02:36 UTC
MDRI has asked for the wisdom of the Perl Monks concerning the following question:
Thanks for looking into this issue. I am not sure, whether this is the right forum to post this thread. If not, let me know the right forum to post this thread.
We have a complex XML Message (data in XML format). We are exploring a way to extract all the XPATHs of this XML message and its element/attribute level data content. We tried with XMLSPY, & xmltwig, but no luck. Xml_grep pulls data, if we give XPATH input. There is no option in xml_grep to browse all XPATHS of a XML message.
I have well-formed XML message. I want to produce a list/report as
1) All Xpath of XML message (Browse all XPATH and list of XML message)
2) Xpath , data content for this XPATH (Browse all XPATH, data content and list both of XML message)
Here is an example (Input XML Message)
The desired output --> I created the following XML list manually
Are there any open source product to produce such report for XML Message?
What are the ways to extract XPATHs/XPATH, data content?
Thanks for allowing to pick the brain of this forum.