|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XPathEvaluator in SAXON?
> 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
|
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








