Quote:
Snoddasmannen said:
Actually I'm putting the firstChild of a dom document, ie the spelldiv, into another document. The resulting dom tree is obviously correct, but Mozilla isn't updating it correctly for some reason.
Doesn't make any sense to me why I would need to specify the destination document of a node at the time of creation, but on the other hand XSLTProcessor is a mozilla invention so they can do whatever they want with it.
|
That has nothing to do with the XSLTProcessor or Mozilla, but that is coming directly from the standard for DOM. You *always* have to import your nodes into the document first with DOM if you want to use them. Even though Mozilla isn't doing what you want, they're doing it very correctly here.