Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XPathContext and lookups

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Steve Loughran <steve.loughran AT gmail.com>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] XPathContext and lookups
  • Date: Thu, 13 Apr 2006 18:31:08 -0400

Steve Loughran wrote:
On 13/04/06, Elliotte Harold <elharo AT metalab.unc.edu> wrote:
Steve Loughran wrote:
Am I right in concluding that there is no way for things outside the
xom package to map from prefix to uri in an XPathContext?

I don't think so. Why would you conclude that? XPathContext should be
fully usable by any class that needs it in any package. It's public, not
package protected.


Its public, but there is no public method to do a lookup from prefix to xmlns.


What is it you want to do? What's your use case? That class for the moment is just intended to provide a context for XPath evaluation, which it does, Why do you want a public lookup method?

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page