Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)