| [reply] |
I suspect you actually want XML::XPath, not XML::Path. That module has an xpath script in the examples directory and it makes reference to ActiveState so that might help with your PPM search.
| [reply] |
Thanks for the reply. Is that a Perl script? I was actually looking for the command line utility mentioned here on this page: http://www.xml.com/pub/a/2002/04/17/perl-xml.html
| [reply] |
$ cpan XML::XPath
...
Installing /home/eric/usr/perlbrew/perls/perl-5.12.2/bin/xpath
...
| [reply] [d/l] |
Google finds xpathtool and 4xpath.
And if you search for "XML utility", you get some GUI tools. | [reply] |
Regarding modules for XML-related work, you may want to try XML::LibXML -- I've found it to be fast, compact, well documented, and fully capable. And it does xpath stuff quite easily. It requires the Gnu LibXML package (available separately, not a Perl thing), which should be readily available for MS systems.
In fact, LibXML is so easy to use, once I started to grok the XPath usage, I just whipped up a quick command line tool on my own, not even thinking to look for something that someone else might have written already, and it's been working just great:
| [reply] [d/l] |
You might also be interested in XML::XSH2, that features the xsh command line and scripting utility. | [reply] [d/l] |
If you have XML::LibXML installed you can also try App::xml_grep2, which uses XPath instead of regexps to grep XML files.
| [reply] |