hi group,

i try to use jquery to insert xhtml fragments into my html dom at
various places. the fragments are found in a large xml document i get
using ajax.
the line that fails in IE (6 & 7) is:

    $("#"+x).append($("text",node).children());

with x being the id name for the element and node a fragment of the
xml tree retrieved with jquery .get()

i tracked the problem down to being the origin of the data: IE does
not want me to append nodes that come from another document. however,
i googled around a lot but did not find how to import the nodes into
my html dom. i found this post about doing an xslt ident translation,
but a) this seems like overkill to me and b) the xslt plugin would
only allow me to translate complete documents, not just my fragment:

http://groups.google.com/group/jquery-en/browse_thread/thread/b06a8467afbcc209/0b06f144b8133f8b?lnk=gst&q=ajax+xml+dom

is there any other idea how i can do this?

any help is really appreciated,
david

Reply via email to