xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: "John.Cowan" <jcowan AT reutershealth.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] SOAP stacks
- Date: Thu, 7 Jul 2005 13:23:54 -0700
<blows horn='own' href='http://www.tagsoup.info'>Unless it is TagSoup.</blows>
BTW, in the next Nux version one can enable TagSoup parsing. For example:
fire-xquery --validate=tagsoup --query="{//*:img/string(@src)}" ../../ doc/index.html
fire-xquery-1.3 - Nux XQuery test tool with optional schema validation.
Usage: fire-xquery [OPTION]... [FILE]...
Option names can be abbreviated as long as they remain unambigous.
Option cardinalities: "?" = 0..1, "*" = 0..N, "+" = 1..N, "def" = default.
Help options:
? --version display the version of this program and exit.
? --help print this help and exit.
Query options:
+ --query={STRING}|FILE the XQuery to execute.
? --base=FILE resolve relative URIs found in the XQuery (def=".").
* --var=NAME:VALUE pass external variables to XQuery (def=none).
Output options:
* --out=FILE|/dev/null file(s) to serialize to (def=stdout).
? --algo=w3c|wrap result sequence serialization algorithm (def=w3c).
? --encoding=STRING character encoding to serialize with (def=UTF-8).
? --indent=INT insert prettyprint indentation; disable=0 (def=4).
Validation options for input documents:
? --validate=no|dtd|schema|relaxng|tagsoup validation language (def=no).
? --schema=FILE e.g. foo.dtd|foo.xsd|foo.rng (def=undefined).
? --namespace=URI namespace of schema (def=undefined).
Misc options:
? --update={STRING}|FILE apply update XQuery to each item in result sequence.
? --xinclude perform W3C XInclude resolution on input files.
? --strip strip whitespace-only text nodes from input files.
? --noexternal disallow Java extension functions in XQuery.
? --filterpath=STRING streaming path filter, e.g. "/a/b/ c" (def=none).
? --filterquery={STRING}|FILE XQuery transforming each filter match (def=.).
? --debug print full stack trace on exception.
Benchmarking options:
? --runs=INT repeat outer loop N times (def=1).
? --iterations=INT repeat inner loop M times (def=1).
? --docpoolcapacity=INT allow at most N MB memory for document pool (def=0).
? --docpoolcompression=-1..9 use document ZLIB compression level (def=-1).
? --nobuilderpool disable caching of SAX XMLReaders.
? --explain print description of optimized XQuery plan.
Examples:
cd samples/data
fire-xquery --query="{/PERIODIC_TABLE/ATOM[NAME='Zinc']}" periodic.xml
fire-xquery --query="{count(//*)}" *.xml
fire-xquery --query="{count(//*)}" *.xml.bnux
fire-xquery --algo=wrap --query="{//node(), //@*, 'Hello World!'}" p2pio-receive.xml
fire-xquery --query=../xmark/q09.xq ../xmark/auction-0.01.xml -- out=/tmp/results.out
fire-xquery --var=x:2 --var=y:5 --query="{declare variable $x external; declare variable $y external; $x * $y}"
fire-xquery --query="{/receive/timeout}" --update="{declare namespace system = 'java:java.lang.System'; system:currentTimeMillis () + 10000}" p2pio-receive.xml
fire-xquery --xinclude --query="{.}" xinclude.xml
fire-xquery --validate=tagsoup --query="{//*:img/string (@src)}" ../../doc/index.html
fire-xquery --query="{.}" --validate=schema --namespace="http:// openuri.org/easypo" --schema=order.xsd order.xml
fire-xquery --query="{.}" --validate=schema --namespace="http:// openuri.org/easypo" --schema=order.xsd order.xml --out=/dev/null -- iter=0 --runs=100000
fire-xquery --query="{count(doc('periodic.xml')//*)}" --out=/dev/ null --indent=0 --iter=5000 --runs=5 --docpoolcapacity=100 --explain
-
Re: [XOM-interest] SOAP stacks
, (continued)
-
Re: [XOM-interest] SOAP stacks,
Steve Loughran, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Elliotte Harold, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Steve Loughran, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Elliotte Harold, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Steve Loughran, 07/07/2005
- Re: [XOM-interest] SOAP stacks, Elliotte Harold, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Steve Loughran, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
John.Cowan, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Elliotte Harold, 07/07/2005
- Re: [XOM-interest] SOAP stacks, Steve Loughran, 07/07/2005
- Re: [XOM-interest] SOAP stacks, John.Cowan, 07/07/2005
- Re: [XOM-interest] SOAP stacks, Wolfgang Hoschek, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Elliotte Harold, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Elliotte Harold, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Steve Loughran, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Elliotte Harold, 07/07/2005
-
Re: [XOM-interest] SOAP stacks,
Steve Loughran, 07/07/2005
Archive powered by MHonArc 2.6.24.