xpath.js

Service Station, by Aaron Skonnard

Syndication

xpath.js is a command-line utility for selecting subsets of an XML document. Requires MSXML 4.0.

The help information is displayed if you run the utility from the command-line without supplying any arguments:

C:>xpath
MSXML XPath Utility

usage: xpath fname xpath:xpathExpr [options]
  -o  outputFile
  -ns prefix nsURI

The following example searches for all all Price elements from the http://example.org/invoice namespace:

C:\>xpath invoice.xml xpath://x:Price -ns x http://example.org/invoice

The result of the transformation will be displayed in the console if you don't specify an output file name.

Download here.


Posted Jan 19 2004, 07:55 PM by Aaron Skonnard
Filed under:

Add a Comment

(required)  
(optional)
(required)  
Remember Me?