Thanks, Remy.  Good to know.

Mike


@Mike - I actually had that same function for a project I was working
on, and IE plain refused to convert it to a DOM that I could work
with.

In the end, I used a bit of substring parsing to get the contents of
the body, and dumped it in a hidden DIV (thus creating the DOM I
needed):

xml = xml.substring(xml.indexOf('<body>') + '<body>'.length);
xml = xml.substring(0, xml.indexOf('</body>'));

$('body').append('<div id="_xml"></div>');
$('_xml').hide().append(xml);

Pretty clunky but it did the job.

Reply via email to