Package: wnpp Owner: Loic Dachary (OuoU) <[EMAIL PROTECTED]> Severity: wishlist
* Package name : getxpath Version : 0.4.0 Upstream Author : Loic Dachary * URL or Web page : http://specs.dachary.org/getxpath/ * License : GNU GPLv2 or later Description : extract a value from a XML file using a XPATH expression getxpath(1) getxpath(1) NAME getxpath - extract a value from a XML file using a XPATH expression SYNOPSIS getxpath xpath [selector] xmlfile DESCRIPTION extract a value from a xmlfile element or attribute based on an xpath expression. By default the return value is the selector . unless the selector argument was given. xmlfile can be a URL or a pathname. EXAMPLES $ cat file.xml <what> yes </what> $ getxpath /what file://file.xml yes $ cat file.xml <what att="one"><is/></what> $ getxpath /what/is ../@att file://file.xml one $ getxpath /what http://localhost/file.xml yes AUTHORS Loic Dachary <[EMAIL PROTECTED]> local getxpath(1) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]