Re: XPath over DOM with CDATA section and text node sibling
Martin Honnen <[email protected]> Tue, 29 May 2007 13:59:52 +0200
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | Liberty Development |
| Message-ID | <[email protected]> |
Jonas Sicking wrote: > No, this is a known bug. Things work fine if you use normal XSLT and the > <?xml-stylesheet?> PI, but if you use DOM-XPath functions like > document.evaluate adjacent text nodes are not merged. This turns out to > be fairly difficult to fix without degrading performance a lot. > > Usually you can work around this by writing your expressions > differently, though that's not always very easy. Exactly what are you > trying to do? I am just looking at how different XPath over DOM implementations handle that mapping so as long as I am aware of how Mozilla handles this I am fine. Thanks. -- Martin Honnen http://JavaScript.FAQTs.com/