Skip to Content.
Sympa Menu

xom-interest - RE: [XOM-interest] XOM 1.1: XPath

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Michael Kay" <mike AT saxonica.com>
  • To: "'Wolfgang Hoschek'" <whoschek AT lbl.gov>, "'Elliotte Harold'" <elharo AT metalab.unc.edu>
  • Cc: 'xom-interest' <xom-interest AT lists.ibiblio.org>
  • Subject: RE: [XOM-interest] XOM 1.1: XPath
  • Date: Sat, 8 Jan 2005 09:46:15 -0000

> > public Nodes query(String xpath) throws ToBeDeterminedException
> > public Nodes query(String xpath, Map namespaceBindings)
> > throws ToBeDeterminedException
> >

It occurred to me that you could handle expressions returning a string,
boolean, or number by wrapping the result in a specially-created Text node.
This would be better than offering only a restricted subset of XPath.

Michael Kay
http://www.saxonica.com/





Archive powered by MHonArc 2.6.24.

Top of Page