class_docstr: Mixin to create documents that conform to the load/save spec.
code: def saveXML(self, snode):
      if snode is None:
          snode = self
      elif snode.ownerDocument is not self:
          raise xml.dom.WrongDocumentErr()
      return snode.toxml()
  
imports: import copy
  import xml.dom
  from xml.dom.NodeFilter import NodeFilter
label_desc: Use image node_id 6 for calling the DocumentLS obj's underlying member method code with example usage: obj.saveXML(snode) and returns: snode