xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
RE: [XOM-interest] New XPath issue: what to do with non-nodes?
- From: "Michael Kay" <mike AT saxonica.com>
- To: "'John Cowan'" <jcowan AT reutershealth.com>, "'Elliotte Harold'" <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org, Nils_Kilden-Pedersen AT Countrywide.Com
- Subject: RE: [XOM-interest] New XPath issue: what to do with non-nodes?
- Date: Thu, 13 Jan 2005 09:05:17 -0000
>
> Elliotte Harold scripsit:
>
> > What XPath 1.0 expressions might you use
> > in a Java program that do not return node-sets?
>
> I can't think of any.
I think you're assuming a scenario where users like to code in Java and only
use XPath as a last resort. There's another scenario where users hate coding
in Java (all those fiddly iterators) and like to use XPath as much as
possible. There's also a scenario where the Java application with embedded
XPath is machine-generated.
sum(*[@code=23]/@value)
lang('de')
count(../following-sibling::foo) = 0
Michael Kay
http://www.saxonica.com
-
[XOM-interest] New XPath issue: what to do with non-nodes?,
Elliotte Harold, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Nils_Kilden-Pedersen, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Elliotte Harold, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
John Cowan, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Wolfgang Hoschek, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Elliotte Harold, 01/12/2005
- Re: [XOM-interest] New XPath issue: what to do with non-nodes?, Wolfgang Hoschek, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Elliotte Harold, 01/12/2005
-
RE: [XOM-interest] New XPath issue: what to do with non-nodes?,
Michael Kay, 01/13/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Michael Abato, 01/13/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Elliotte Harold, 01/13/2005
- Re: [XOM-interest] New XPath issue: what to do with non-nodes?, John Cowan, 01/13/2005
- Re: [XOM-interest] New XPath issue: what to do with non-nodes?, Bradley S. Huffman, 01/13/2005
- Re: [XOM-interest] New XPath issue: what to do with non-nodes?, Elliotte Harold, 01/13/2005
- Re: [XOM-interest] New XPath issue: what to do with non-nodes?, John Cowan, 01/13/2005
- Re: [XOM-interest] New XPath issue: what to do with non-nodes?, Elliotte Harold, 01/13/2005
- RE: [XOM-interest] New XPath issue: what to do with non-nodes?, Michael Kay, 01/13/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Elliotte Harold, 01/13/2005
- Re: [XOM-interest] New XPath issue: what to do with non-nodes?, Elliotte Harold, 01/13/2005
- Re: [XOM-interest] New XPath issue: what to do with non-nodes?, John Cowan, 01/13/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Michael Abato, 01/13/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Wolfgang Hoschek, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
John Cowan, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Elliotte Harold, 01/12/2005
-
Re: [XOM-interest] New XPath issue: what to do with non-nodes?,
Nils_Kilden-Pedersen, 01/12/2005
Archive powered by MHonArc 2.6.24.