Thanks for the tips Nick.

$(xmlDom.documentElement).clone() works on chrome and all other major
browsers.

Regards,
Sui-Sing

On Jul 28, 5:50 pm, Nick Fitzsimons <[email protected]> wrote:
> 2009/7/28 sui-sing Lai <[email protected]>:
>
>
>
> > Thanks John,
>
> > I am trying to clone an entire XML document.
> > Sigh.. other major browsers do support this.
>
> > Anyone have an idea to workaround this?
> > The reason I needed a clone is to do comparison before PUT/POST.
>
> Have you tried cloning the document.documentElement node, then
> importing that into a new document?
>
> Regards,
>
> Nick.
> --
> Nick Fitzsimonshttp://www.nickfitz.co.uk/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to