XML
(new XMLSerializer()).serializeToString()
node.nodeName
node.tagName