def __init__(self):
        """
        XmlDoc parses XML into a declaration, if present, and node tree 
        of XML elements.
        """
        self.stack = []
        self.declaration = ""
        self.root = None

        XmlDoc parses XML into a declaration, if present, and node tree 
        of XML elements.
        
recipes/Python/579133_MicroXml_Standalone_library_basic_XML/recipe-579133.py