Lines Matching refs:subset
233 """Load the internal subset if there might be one."""
237 subset = extractor.getSubset()
238 self.document.doctype.internalSubset = subset
583 # Takes a string for the doctype, subset string, and namespace attrs string.
636 subset = doctype.internalSubset or self._getDeclarations()
643 subset = ""
645 document = _FRAGMENT_BUILDER_TEMPLATE % (ident, subset, nsattrs)
657 """Re-create the internal subset from the DocumentType node.
868 """XML processor which can rip out the internal document type subset."""
870 subset = None
873 """Return the internal subset as a string."""
874 return self.subset
896 self.subset = []
897 parser.DefaultHandler = self.subset.append
903 s = ''.join(self.subset).replace('\r\n', '\n').replace('\r', '\n')
904 self.subset = s