Home | History | Annotate | Download | only in dom

Lines Matching refs:subset

233         """Load the internal subset if there might be one."""
237 subset = extractor.getSubset()
238 self.document.doctype.internalSubset = subset
576 # Takes a string for the doctype, subset string, and namespace attrs string.
629 subset = doctype.internalSubset or self._getDeclarations()
636 subset = ""
638 document = _FRAGMENT_BUILDER_TEMPLATE % (ident, subset, nsattrs)
650 """Re-create the internal subset from the DocumentType node.
856 """XML processor which can rip out the internal document type subset."""
858 subset = None
861 """Return the internal subset as a string."""
862 return self.subset
884 self.subset = []
885 parser.DefaultHandler = self.subset.append
891 s = ''.join(self.subset).replace('\r\n', '\n').replace('\r', '\n')
892 self.subset = s