As of release 2.4.16, libxml2 passed all 1800 tests from the OASIS XML Tests Suite.
"Programming with libxml2 is like the thrilling embrace of an exotic stranger." Mark Pilgrim Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), it is free software available under the MIT License.
XML itself is a metalanguage to design markup languages, i.e.
XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to process XML documents is one executable file.
To run Xml Starlet utility you can simple type 'xml' on command line and see list of options available.
XML schema is supported in a similar way, but requires an explicit schema to be provided: As described above, the parser support for DTDs depends on internal or external subsets of the XML file.
This means that the XML file itself must either contain a DTD or must reference a DTD to make this work.
An XML document with correct syntax is called "Well Formed".
An XML document validated against an XML Schema is both "Well Formed" and "Valid".
The syntax of the "value-of" element is: If the above template is applied, the transformation engine will match the element "p" in the source XML document with the defined template.