Esempio 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)
Esempio 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)
Esempio 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)