Home | History | Annotate | Download | only in dom

Lines Matching refs:Options

12 class Options:
58 self._options = Options()
97 # (option,value) pairs that should be set on the Options object.
168 options = self._options
169 return (options.datatype_normalization
170 and options.whitespace_in_element_content
171 and options.comments
172 and options.charset_overrides_xml_encoding
173 and not (options.namespace_declarations
174 or options.validate_if_schema
175 or options.create_entity_ref_nodes
176 or options.entities
177 or options.cdata_sections))
188 options = copy.copy(self._options)
189 options.filter = self.filter
190 options.errorHandler = self.errorHandler
192 if fp is None and options.systemId:
195 return self._parse_bytestream(fp, options)
202 def _parse_bytestream(self, stream, options):
204 builder = xml.dom.expatbuilder.makeBuilder(options)