code: def node(self, content):
          
          ns = content.type.namespace()
          if content.type.form_qualified:
              node = Element(content.tag, ns=ns)
              if ns[0]:
                  node.addPrefix(ns[0], ns[1])
          else:
              node = Element(content.tag)
          self.encode(node, content)
          log.debug("created - node:\n%s", node)
          return node
docs: Create an XML node.
  
          The XML node is namespace qualified as defined by the corresponding
          schema element.