[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XPathEvaluator in SAXON?

Subject: RE: XPathEvaluator in SAXON?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 5 Mar 2003 04:29:55 -0000
saxon xpathevaluator
> What I was looking for is some class that takes in a Docment 
> object and 
> a XPathExpress object, then evaluate the document against the 
> xpath and 
> then return a collection of matching Node objects, sothat I 
> can change 
> the value of the nodes and save them back to the document file.

Saxon's two native tree implementations (the standard tree and the tiny
tree) are both read-only - they are designed for XSLT processing, where
node-level updates are not a requirement, and making the structures
read-only allows higher XSLT performance.

The only mutable tree structure that Saxon supports is the JDOM
structure.

I believe that some Saxon users have written drivers that allow Saxon to
be used with third-party DOM implementations, but there's no such driver
included with the product.
> >
> Great, but how do I specify which implementaion to use? 

In the case of JDOM, you build the tree using JDOM interfaces.

In the case of Saxon's two tree implementations, you can control it
using a property of the TransformerFactory.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.