XSL and the DOM

Subject: XSL and the DOM
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Thu, 21 Oct 1999 15:12:53 -0400
I would like to be able to construct a DOM tree of my input document and
then pass it into an XSL processor. I would also like to use XPath to query
this tree as it is constructed. I checked several XSL processors and none
seem to support this.  This is probably because of namespace and XPath
issues.

I then went and read the DOM2 spec which makes no mention of XPath. Why is
this, shouldn't XPath be part of DOM2?

Right now all of the XSL processors are taking SAX events and building their
own DOM trees with their own APIs.  Could this be split out in standard
manner if the DOM supported namespaces and XPath?

In my server-side app I currently build DOM1 trees and then convert them
into SAX events to drive the XSL processors. There should be a better way.

Jon Smirl
jonsmirl@xxxxxxxxxxxx



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


Current Thread
  • XSL and the DOM
    • Jon Smirl - Thu, 21 Oct 1999 15:12:53 -0400 <=
      • zun - Thu, 21 Oct 1999 15:51:26 -0400 (EWT)
        • Jon Smirl - Thu, 21 Oct 1999 16:20:18 -0400
      • <Possible follow-ups>
      • Kay Michael - Fri, 22 Oct 1999 09:47:18 +0100
        • Jon Smirl - Fri, 22 Oct 1999 11:43:15 -0400