I am going through a somewhat large XML file. Say I'm looking for a specific value in a tree. I find it manually, but then to find it programmatically, I need to know the path. Right now, I am using tidyand vimto print the file so that I can inspect it manually. However, it becomes very fast because the file has more than 30,000 lines. Therefore, when I found the above value, it is quite difficult to determine the full path. Ideally, I need a tool that allows me to perform a full search of the contents of the xml file, and then display the full path to the root. This question has some great suggestions, but they are all Windows only. Is there anything for the Macs?
source
share