Copy an HTML DOM Node into an XML DOM. This function copies a DOM element and all its descendants and returns the new copy.
A DOM element.
A new, copied DOM element tree.
Strophe.createHtml
Copy an HTML DOM Node into an XML DOM. This function copies a DOM element and all its descendants and returns the new copy.