[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: AW: Fw: Ozone and XPATH


> But Saxon is DOM and/or SAX based. So how do you use Saxon's XPath in
> conjuction with JDOM? Will you use JDOM->DOM transformer each time you're
> calling an XPath query?

Saxon would of cause not be used in combination with JDOM. The alternative
is to let JDOM alone and to pass the XML content directly to Saxon with the
XPATH statement as an "local" XSL "sheet" (embedded in the minimum XSL
needed) and let Saxon do the XPATH query.

Perhaps the TrAX interface of Saxon, using Xerces-DOM, would be something to
look at.
I do not know enough about that interface yet.