Action against software patents Gnome2 Logo W3C Logo Red Hat Logo
Made with Libxml2 Logo

The XML C parser and toolkit of Gnome

libxml

Main Menu
Related links

"Programmingwith libxml2 is like the thrilling embrace of an exotic stranger." MarkPilgrim

Libxml2 is the XML C parser and toolkit developed for the Gnome project(but usable outside of the Gnome platform), it is free software availableunder the MITLicense. XML itself is a metalanguage to design markup languages, i.e.text language where semantic and structure are added to the content usingextra "markup" information enclosed between angle brackets. HTML is the mostwell-known markup language. Though the library is written in C a variety of language bindingsmake it available inother environments.

Libxml2 is known to be very portable, the library should build and workwithout serious troubles on a variety of systems (Linux, Unix, Windows,CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)

Libxml2 implements a number of existing standards related to markuplanguages:

In most cases libxml2 tries to implement the specifications in arelatively strictly compliant way. As of release 2.4.16, libxml2 passed all1800+ tests from the OASIS XML TestsSuite.

To some extent libxml2 provides support for the following additionalspecifications but doesn't claim to implement them completely:

  • Document Object Model (DOM) http://www.w3.org/TR/DOM-Level-2-Core/the document model, but it doesn't implement the API itself, gdome2 doesthis on top of libxml2
  • RFC 959:libxml2 implements a basic FTP client code
  • RFC 1945:HTTP/1.0, again a basic HTTP client code
  • SAX: a SAX2 like interface and a minimal SAX1 implementation compatiblewith early expat versions

A partial implementation of XML Schemas Part1: Structureis being worked on but it would be far too early to make anyconformance statement about it at the moment.

Separate documents:

Logo designed by Marc Liyanage.

Daniel Veillard