Category: XPath
-
Python and XPath
I had done some XPath using XMLStarlet in a shell script, and I quite like it. Feeling “safe enough” with XPath I managed to deal with the Python XPath pitfall(s), and I quite like my 1st respective XPath Python script. And of course my Python script has a nicer CLI interface than my shell script.…
-
XMLStarlet – a command-line utility to deal with XML documents
https://en.wikipedia.org/wiki/XMLStarlet https://de.wikipedia.org/wiki/XMLStarlet http://xmlstar.sourceforge.net http://xmlstar.sourceforge.net/docs.php http://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html – User’s Guide http://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139502176 – the User’s Guide section on “Other XmlStarlet Resources” (with a few broken links) http://xmlstar.sourceforge.net/doc/xmlstarlet.txt – yet another document called “User’s Guide” but with more rather educative examples http://www.ibm.com/developerworks/library/x-starlet http://www.heise.de/ct/inhalt/15/14/172 — behind a paywall; my PDF copy lives on my archive at: Computers/Data_Formats/Markup_Languages/XML/Addressing_and_Querying/XPath/ http://www.freesoftwaremagazine.com/articles/xml_starlet CAVEAT: “xmlstarlet sel –template –value-of XPATH” lists all…
-
the GNU packages that I need most seriously on my “finkified” Macs
https://wiki.jochen.hayek.name/w?title=The_GNU_packages_that_I_need_most_seriously_on_my_finkified_Macs – this is where this text should actually live and get maintained CAVEAT!!! Read carefully beforehand: http://finkproject.org/download/ http://finkproject.org/download/srcdist.php I.e. install Xcode Tools/Developer Tools, Xcode Command Line Tools, and X11 ! This message wants to tell you, that the Xquartz X11 distribution is not installed (it is not something, that fink can do for you):…
-
updating resp. re-installing “fink” on OS X “El Capitan”
Updating did not work at all. I needed a fresh installation from finkproject.org . And then: $ fink install coreutils xmlstarlet pwgen $ fink install xpdf … Nota bene: you should always upgrade fink before upgrading OS X.
-
doing XPath within shell scripts with a lightweight utility
Is XMLStartlet really a reliable and lightweight command line utility to be employed with shell scripts? … with cygwin shell scripts?!? cygwin and fink have each have (ipkg does not) a ready-made XMLStartlet, and for now it seems to do what I need. cygwin (?), fink, and ipkg each have a ready-made libxml2 and xmllint.
-
BaseX is a light-weight, high-performance and scalable XML database system and XPath/XQuery processor, including full support for the W3C Update and Full Text extensions
BaseX | Free Development software downloads at SourceForge.net
-
O’Reilly Media book: XPath and XPointer
Update 2011-03-05: Happily acquired the PDF e-book.Lots of nice XPath examples … – now: practice, practice, practice!Update 2011-03-09:This book is also available online and for free here, on the O’Reilly Commons wiki. Update 2016-02-19:I really like exercising the examples (for the URL see above!) using xmlstartlet. Instead of writing a script in Perl or…
-
The SAXON XSLT and XQuery Processor
The SAXON XSLT and XQuery Processor Downloaded Saxon-HE from the above URL on my Linux box, decided to go for the Java variant, installed saxonhe.jar and “the resources” into /usr/local/saxon-resources9-3. I wasn’t able to browse the documentation below saxon-resources9-3/doc with Chrome-10, so I use Firefox-3.6 for that. But I also read the documentation here. This is…