• Home
  • Raw
  • Download

Lines Matching refs:xmlparser

31 :class:`xmlparser`, that represents the current state of an XML parser.  After
32 an :class:`xmlparser` object has been created, various attributes of the object
70 Creates and returns a new :class:`xmlparser` object. *encoding*, if specified,
109 the :class:`xmlparser` instance returned can only be used to parse a single
124 :class:`xmlparser` objects have the following methods:
127 .. method:: xmlparser.Parse(data[, isfinal])
136 .. method:: xmlparser.ParseFile(file)
143 .. method:: xmlparser.SetBase(base)
152 .. method:: xmlparser.GetBase()
158 .. method:: xmlparser.GetInputContext()
167 .. method:: xmlparser.ExternalEntityParserCreate(context[, encoding])
176 .. method:: xmlparser.SetParamEntityParsing(flag)
184 .. method:: xmlparser.UseForeignDTD([flag])
203 :class:`xmlparser` objects have the following attributes:
206 .. attribute:: xmlparser.buffer_size
218 .. attribute:: xmlparser.buffer_text
220 Setting this to true causes the :class:`xmlparser` object to buffer textual
230 .. attribute:: xmlparser.buffer_used
239 .. attribute:: xmlparser.ordered_attributes
251 .. attribute:: xmlparser.returns_unicode
262 .. attribute:: xmlparser.specified_attributes
274 encountered by an :class:`xmlparser` object, and will only have correct values
279 .. attribute:: xmlparser.ErrorByteIndex
284 .. attribute:: xmlparser.ErrorCode
291 .. attribute:: xmlparser.ErrorColumnNumber
296 .. attribute:: xmlparser.ErrorLineNumber
301 in an :class:`xmlparser` object. During a callback reporting a parse event they
310 .. attribute:: xmlparser.CurrentByteIndex
315 .. attribute:: xmlparser.CurrentColumnNumber
320 .. attribute:: xmlparser.CurrentLineNumber
325 :class:`xmlparser` object *o*, use ``o.handlername = func``. *handlername* must
331 .. method:: xmlparser.XmlDeclHandler(version, encoding, standalone)
345 .. method:: xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset)
355 .. method:: xmlparser.EndDoctypeDeclHandler()
361 .. method:: xmlparser.ElementDeclHandler(name, model)
367 .. method:: xmlparser.AttlistDeclHandler(elname, attname, type, default, required)
381 .. method:: xmlparser.StartElementHandler(name, attributes)
388 .. method:: xmlparser.EndElementHandler(name)
393 .. method:: xmlparser.ProcessingInstructionHandler(target, data)
398 .. method:: xmlparser.CharacterDataHandler(data)
407 .. method:: xmlparser.UnparsedEntityDeclHandler(entityName, base, systemId, publicId, notationName)
415 .. method:: xmlparser.EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, pub…
429 .. method:: xmlparser.NotationDeclHandler(notationName, base, systemId, publicId)
436 .. method:: xmlparser.StartNamespaceDeclHandler(prefix, uri)
443 .. method:: xmlparser.EndNamespaceDeclHandler(prefix)
453 .. method:: xmlparser.CommentHandler(data)
459 .. method:: xmlparser.StartCdataSectionHandler()
466 .. method:: xmlparser.EndCdataSectionHandler()
471 .. method:: xmlparser.DefaultHandler(data)
478 .. method:: xmlparser.DefaultHandlerExpand(data)
485 .. method:: xmlparser.NotStandaloneHandler()
495 .. method:: xmlparser.ExternalEntityRefHandler(context, base, systemId, publicId)