- Marcus
You'll need to reparent the XML node I think. I have thought about
exposing a consistent parsing interface in Strophe, but haven't done
so yet.
Look into adoptNode() for reparenting.
jack.
Thanks! That did the trick. I had no idea that different documents
would be a problem, but it seems kinda obvious that it would now.
Some browsers just let you do it anyway or do it for you silently.
Safari in particular seems to be a stickler about it.
It's mostly confusing because most people don't work with XML DOM
much, and very rarely outside of a single document.
jack.