コード例 #1
0
ファイル: DTDParser.py プロジェクト: EvelynHf/basil
 def reset (self):
     """DTDParser.reset
     Note that this overloads the XMLParser.reset() method.
     Called by the base class constructor, this method adds a private
     stack for the DTD element parse tree, and a map for the DTD
     elements.
     """
     XMLParser.reset(self)
     self.__stack = []
     self.elements = {}