![]() |
![]()
| ![]() |
![]()
NAMEXML::Liberal - Super liberal XML parser that parses broken XML SYNOPSISuse XML::Liberal; my $parser = XML::Liberal->new('LibXML'); my $doc = $parser->parse_string($broken_xml); # or, override XML::LibXML->new globally use XML::LibXML; use XML::Liberal; XML::Liberal->globally_override('LibXML'); my $parser = XML::LibXML->new; # isa XML::Liberal # revert the global overrides back XML::Liberal->globally_unoverride('LibXML'); # override XML::LibXML->new globally in a lexical scope { my $destructor = XML::LibXML->globally_override('LibXML'); my $parser = XML::LibXML->new; # isa XML::Liberal } # $destructor goes out of scope and global override doesn't take effect my $parser = XML::LibXML->new; # isa XML::LibXML DESCRIPTIONXML::Liberal is a super liberal XML parser that can fix broken XML stream and create a DOM node out of it. This module is ALPHA SOFTWARE and its API and internal class layouts etc. are subject to change later. METHODS
BUGSThis module tries to fix the XML data in various ways, some of which might alter your XML content, especially bytes written in CDATA. AUTHORTatsuhiko Miyagawa <miyagawa@bulknews.net> Aaron Crane LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOXML::LibXML
|