NAME
xpathscript - XPathScript command-line utility
SYNOPSIS
xpathscript [-i] [-q=<query_string>] <xml_file> <stylesheet_files or modules..>
xpathscript [-i] [-q=<query_string>] <name>
DESCRIPTION
Transforms the xml document using the one or more given XPathScript stylesheets. If a module name is passed as one of the stylesheets, xpathscript will try to load it and use its local $stylesheet variable as the stylesheet.
If no stylesheet is provided, xpathscript assumes that the xml source file and the XPathScript stylesheet are named <name>.xml and <name>.xps.
ARGUMENTS
- -i
-
Enable interpolation
- -q=<query_string>
-
query_string is passed as if it was a query string. E.g.,
xpathscript -q="page=3&images=no" doc.xml htmlify.xps
will act as if the document was requested from the web server with the url 'http://your.server.org/doc.xml?page=3&images=no'
SEE ALSO
BUGS
Please send bug reports to <bug-xml-xpathscript@rt.cpan.org>, or via the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=XML-XPathScript .
AUTHOR
Yanick Champoux, <yanick@cpan.org>