Class | LibXML::XML::HTMLParser |
In: |
ext/libxml/libxml.c
|
Parent: | Object |
Obtain the XML::Parser::Context associated with this parser.
/* * call-seq: * parser.context -> context * * Obtain the XML::Parser::Context associated with this * parser. */ VALUE ruby_xml_html_parser_context_get(VALUE self) {
Parse the input XML and create an XML::Document with it‘s content. If an error occurs, XML::Parser::ParseError is thrown.
/* * call-seq: * parser.parse -> document * * Parse the input XML and create an XML::Document with * it's content. If an error occurs, XML::Parser::ParseError * is thrown. */ VALUE ruby_xml_html_parser_parse(VALUE self) {