|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath engines for Java
Hello,
Here are some informations about the XPath engine of jd.xslt. It's main purpose is really to help implement the XSLT processor, but it could be used as a standalone library too, since all needed classes are accessible. (Beware: the current documentation and tool support for standalone use is rudimentary). The following steps can be performed: - Instantiate a XPath parser and construct a XPath Expression object from an expression string - Print out an expression string from a Expression object - Evaluate a Expression for a XPathContext (defining the context node, etc.) The XPath library provides an own implementation of the XPath tree model which is designed for fast and efficient expression evaluation. This tree model is also the base for the XSLT engine. Naturally this limits the use as a standalone XPath library since it will not allow you directly to evaluate XPath expressions on a DOM tree. But even DOM input would be possible since there exists an (unpublished) XPath to DOM bridge to support DOM tree input. (sorry for answering so late, but these days I'm always 300 messages behind) Johannes Döbler At 19:00 18.03.2002 -0500, you wrote: I'm working on the XPath chapter of Processing XML with Java, http://www.cafeconleche.org/books/xmljava/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








