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

RE: XPath over DOM

Subject: RE: XPath over DOM
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 13:03:00 -0000
counting dom nodes
> > Are there any Java-based XSLT or XPath implementations (at
> least partial
> > functionality) that can traverse over existent DOM object,
> as opposed to
> > creating their own in-memory structure? I need to be able
> to provide my own
> > Document object built by my own parser, not just DOM APIs
> over internal
> > processor structure (as Saxon implementation).
I think Xalan and Oracle can both do this.

> Why would any Java XSLT processor have a problem working with
> another's DOM nodes?

Saxon doesn't do it (at present) because of the cost and complexity of (a)
sorting nodes into document order when they don't contain a serial number,
(b) skipping over and counting nodes correctly in the presence of things
such as entity reference nodes, CDATA nodes, and unnormalized text nodes,
and (c) dealing with the multitude of ways that the DOM allows namespace
nodes to be (or not be) represented.

Mike Kay

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

Current Thread


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.
First Name
Last Name
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.