def appendChild(self, child):
        if self.childNodes:
            raise ValueError("Only one element per document.")
        Node.appendChild(self, child)
Make the given L{Node} the I{document element} of this L{Document}.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py/Document.appendChild