Changes for version 1.57
- added cloneNode to XML::LibXML::Document
- include Schema/RelaxNG code only with libxml2 >= 2.6.0 (to support old libxml2)
- applied patch to example/cb_example.pl (bug 4262)
- fixed insertBefore/insertAfter on empty elements (bug 3691)
- more DOM conformant XML::LibXML->createDocument API (by Robin Berjon)
- fixed encoding problems with API calls in document encoding
- improved support for importing DTD subsets
- fixed DTD validation error reporting problems with libxml2-2.6.x
- fixed compilation problems with libxml2-2.6.x
- fixed XML::LibXML::Number to support negative numbers
- added XML Schema validation interface (XML::LibXML::Schema)
- added XML RelaxNG validation interface (XML::LibXML::RelaxNG)
- Michael K. Edwards' patch applied with some amendments from Petr Pajas:
- add debian build files (I added SKIP_SAX_INSTALL flag for Makefile.PL and changed the patch so that it doesn't disable sax parser registration completely by default, and rather made debian build use this flag)
- general cleanup (use SV_nolen, etc.)
- SAX parsers cleanup
- general error reporting code cleanup/rewrite, try preventing possible memory leaks
- recover(1) now triggers warnings (disable with $SIG{__WARN__}=sub {})
- slighlty more strict parse_string behavior (now same as when parsing fh, etc): e.g. parse_string("<foo:bar>"), i.e prefix without NS declaration, raises error unless recover(1) is used
- documentation fixes/updates
- slightly updated test set to reflect the new slightly more strict parsing.
- fixed default c14n XPath to include attributes and namespaces (Petr Pajas)
- make libxml2's xmlXPathOrderDocElems available through a new $doc->indexElements method
- added version information of libxml2
- Les Richardson's documentation patch applied.
Documentation
XML::LibXML Attribute Class
XML::LibXML Class for CDATA Sections
XML::LibXML Comment Class
XML::LibXML DOM Implementation
XML::LibXML DOM Document Class
XML::LibXML's DOM L2 Document Fragment Implementation
XML::LibXML DTD Handling
XML::LibXML Class for Element Nodes
XML::LibXML Namespace Implementation
Abstract Base Class of XML::LibXML Nodes
XML::LibXML Processing Instructions
Parsing XML Data with XML::LibXML
XML::LibXML Class for Text Nodes
Modules
Perl Binding for libxml2
Boolean true/false values
Simple string values.
a list of XML document nodes
Simple numeric values.
XML::LibXML direct SAX parser
Building DOM trees from SAX events.
Generate SAX events from a LibXML tree
Provides
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
in lib/XML/LibXML/SAX/Generator.pm
in lib/XML/LibXML/SAX/Parser.pm
in LibXML.pm
in LibXML.pm
in LibXML.pm
Examples
- example/article.xml
- example/article_bad.xml
- example/bad.xml
- example/cb_example.pl
- example/complex/complex.dtd
- example/complex/complex.xml
- example/complex/complex2.xml
- example/complex/dtd/f.dtd
- example/complex/dtd/g.dtd
- example/dromeds.xml
- example/dtd.xml
- example/libxml.dkb
- example/ns.xml
- example/test.dtd
- example/test.html
- example/test.xhtml
- example/test.xml
- example/test2.xml
- example/test3.xml
- example/xmllibxmldocs.pl
- example/xpath.pl