{"id":7307,"date":"2022-12-20T19:37:39","date_gmt":"2022-12-20T22:37:39","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/xmllibxmlsax-man3\/"},"modified":"2022-12-20T19:37:39","modified_gmt":"2022-12-20T22:37:39","slug":"xmllibxmlsax-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/xmllibxmlsax-man3\/","title":{"rendered":"XML::LibXML::SAX (man3)"},"content":{"rendered":"<h1 align=\"center\">XML::LibXML::SAX<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#FEATURES\">FEATURES<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a><br \/> <a href=\"#VERSION\">VERSION<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a><br \/> <a href=\"#LICENSE\">LICENSE<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">XML::LibXML::SAX \u2212 XML::LibXML direct SAX parser<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">XML::LibXML provides an interface to libxml2 direct <small>SAX<\/small> interface. Through this interface it is possible to generate <small>SAX<\/small> events directly while parsing a document. While using the <small>SAX<\/small> parser XML::LibXML will not create a <small>DOM<\/small> Document tree.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Such an interface is useful if very large <small>XML<\/small> documents have to be processed and no <small>DOM<\/small> functions are required. By using this interface it is possible to read data stored within an <small>XML<\/small> document directly into the application data structures without loading the document into memory.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <small>SAX<\/small> interface of XML::LibXML is based on the famous <small>XML::SAX<\/small> interface. It uses the generic interface as provided by XML::SAX::Base.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Additionally to the generic functions, which are only able to process entire documents, XML::LibXML::SAX provides <b><i>parse_chunk()<\/i><\/b>. This method generates <small>SAX<\/small> events from well balanced data such as is often provided by databases.<\/p>\n<h2>FEATURES <a name=\"FEATURES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>NOTE:<\/small><\/i> This feature is experimental.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">You can enable character data joining which may yield a significant speed boost in your <small>XML<\/small> processing in lower markup ratio situations by enabling the http:\/\/xmlns.perl.org\/sax\/join\u2212character\u2212data feature of this parser. This is done via the set_feature method like this:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$p\u2212>set_feature(&#8216;http:\/\/xmlns.perl.org\/sax\/join\u2212character\u2212data&#8217;, 1);<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">You can also specify a 0 to disable. The default is to have this feature disabled.<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Matt Sergeant, Christian Glahn, Petr Pajas<\/p>\n<h2>VERSION <a name=\"VERSION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">2.0206<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">2001\u22122007, AxKit.com Ltd.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">2002\u22122006, Christian Glahn.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">2006\u22122009, Petr Pajas.<\/p>\n<h2>LICENSE <a name=\"LICENSE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This program is free software; you can redistribute it and\/or modify it under the same terms as Perl itself.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  XML::LibXML::SAX \u2212 XML::LibXML direct SAX parser <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3628],"class_list":["post-7307","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-xmllibxmlsax"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=7307"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7307\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=7307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=7307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=7307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}