Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
var c = document.getElementById('test').cloneNode(true);
var s = new XMLSerializer();
var str = s.serializeToString(document);
[edited by: JAB_Creations at 11:38 pm (utc) on Jul 9, 2011]
XMLSerializer is mainly useful for applications and extensions based on the Mozilla platform. While it is available for web pages, it's not part of any standard and level of support in other browsers unknown.