I don't know about jQuery, I doubt it, but apparently IE does have an XMLSerializer. Of course, the syntax would be different. You can try searching for "jscript xmlserializer" and see if that yields anything useful. But then you'd probably be out of luck with Safari, Opera, etc. You might end up having to write your own plugin to handle all the browsers.
Or, and this probably isn't very appealing either, you could do it manually. For example, jQuery has the .html() method that returns the innerHTML property. You could try creating an empty div element, inserting the XML, and then reading the innerHTML back out. I haven't tried it. It's just an idea. Hopefully, someone will have a more elegant solution. Larry On Dec 19, 9:02 am, Stefan <[EMAIL PROTECTED]> wrote: > Hello, > > I have some data in XML representation that I will need to convert to > a string. I tried using XMLSerializer - works great in Firefox, but > not in IE: > > var xmlString = (new XMLSerializer()).serializeToString(xmlData); > > Is there any way to convert XML to its string representation with > jQuery? Or other ways to accomplish this task? > > Thank you! > > Steffen