Subject: Re: XSL, XPath and DOM2 From: "Takuki Kamiya" <kamiya@xxxxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 9 Oct 1999 20:24:42 +0900 |
----- 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
XSL, XPath and DOM2, Jon Smirl | Thread | trouble getting XT to run on BSDi, Pete Beazley |
Re: foo ... bar Re: Q: XML+XSL tran, Paul Tchistopolskii | Date | Re: foo ... bar Re: Q: XML+XSL tran, James Tauber |
Month |