Class | LibXML::XML::SaxParser |
In: |
ext/libxml/libxml.c
|
Parent: | Object |
call-seq:
callbacks.on_external_subset(name, external_id, system_id)
Called for an external subset event.
Create a new XML::SaxParser instance.
/* * call-seq: * XML::SaxParser.new -> sax_parser * * Create a new XML::SaxParser instance. */ VALUE ruby_xml_sax_parser_new(VALUE class) {
Set the callbacks used by this parser. The value assigned to this attributesibute will usually be an object that extends the the XML::SaxParser::Callbacks module, overriding the callbacks it wishes to process.
/* * call-seq: * sax_parser.callbacks = #<XML::SaxParser::Callbacks subclass> * * Set the callbacks used by this parser. The value assigned to * this attributesibute will usually be an object that extends the the * XML::SaxParser::Callbacks module, overriding the callbacks it * wishes to process. */ VALUE ruby_xml_sax_parser_callbacks_set(VALUE self, VALUE callbacks) {
Parse the input XML, generating callbacks to the object registered via the callbacks attributesibute.
/* * call-seq: * parser.parse -> (true|false) * * Parse the input XML, generating callbacks to the object * registered via the +callbacks+ attributesibute. */ VALUE ruby_xml_sax_parser_parse(VALUE self) {