xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Michael Kay" <mike AT saxonica.com>
- To: "'Elliotte Harold'" <elharo AT metalab.unc.edu>, "'xom-interest'" <xom-interest AT lists.ibiblio.org>
- Cc:
- Subject: RE: [XOM-interest] Alpha 2
- Date: Wed, 2 Mar 2005 19:08:13 -0000
> 3. I've added a new XPathTypeException subclass of
> XPathException. This
> is thrown when an XPath expression returns something other than a
> node-set. It provides a getReturnValue method that returns the raw
> object created by the XPath engine.
That's a weird design. To count how many empty paragraphs there are, I
evaluate the expression count(//para[not(node())]), catch the exception, and
extract the number?
Can you explain the thinking?
Michael Kay
http://www.saxonica.com/
-
[XOM-interest] Alpha 2,
Elliotte Harold, 03/02/2005
-
RE: [XOM-interest] Alpha 2,
Michael Kay, 03/02/2005
-
Re: [XOM-interest] Alpha 2,
Elliotte Harold, 03/02/2005
-
RE: [XOM-interest] Alpha 2,
Michael Kay, 03/02/2005
- Re: [XOM-interest] Alpha 2, Elliotte Harold, 03/02/2005
-
RE: [XOM-interest] Alpha 2,
Michael Kay, 03/02/2005
-
Re: [XOM-interest] Alpha 2,
Elliotte Harold, 03/02/2005
-
RE: [XOM-interest] Alpha 2,
Michael Kay, 03/02/2005
Archive powered by MHonArc 2.6.24.