[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL, XPath and DOM2
----- Original Message ----- Jon Smirl wrote: > Right now all of the XSL processors I'm working with take SAX events as > input and build their own private DOM trees. Is DOM2 full-featured enough to > avoid this? For example I started reading though the DOM2 looking for an > XPath query ability, like what xsl:for-each uses, but I couldn't find one. > I had expected DOM2 to contain many of the methods needed to implement XSL. > DOM L2 does neither support directly nor interface with any query-like language such as XPath. It is to me ok but there is one piece of information which is not accessible through DOM L2, which makes it rather difficult to implement XPath atop. Those are IDs. In other words, it is not possible to make XPath implementation independent of XML parsers supporting DOM L2 since the use of back-door APIs are inevitable to retrieve ID-related information. = Takuki Kamiya Phone: (045)476-4586 Fax: (045)476-4749 = = FUJITSU LIMITED (COINS:7128-4217 NIFTY:HHA01731) = 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
|