Ejemplo n.º 1
0
    def insertDoctype(self, token):
        name = token["name"]
        publicId = token["publicId"]
        systemId = token["systemId"]

        doctype = Doctype.for_name_and_ids(name, publicId, systemId)
        self.soup.object_was_parsed(doctype)
Ejemplo n.º 2
0
    def insertDoctype(self, token):
        name = token["name"]
        publicId = token["publicId"]
        systemId = token["systemId"]

        doctype = Doctype.for_name_and_ids(name, publicId, systemId)
        self.soup.object_was_parsed(doctype)
Ejemplo n.º 3
0
 def doctype(self, name, pubid, system):
     self.soup.endData()
     doctype = Doctype.for_name_and_ids(name, pubid, system)
     self.soup.object_was_parsed(doctype)
Ejemplo n.º 4
0
 def doctype(self, name, pubid, system):
     self.soup.endData()
     doctype = Doctype.for_name_and_ids(name, pubid, system)
     self.soup.object_was_parsed(doctype)