Gnome LogoW3C LogoRed Hat Logo

The XML C library for Gnome

libxml

Main Menu
API Indexes
Related links

Libxml is the XML C library developped for the Gnome project. XML itself is a metalanguage to design markup languages, i.e. text language where semantic and structure are added to the content using extra "markup" information enclosed between angle bracket. HTML is the most well-known markup language.

Libxml2 implements a number of existing standards related to markup languages:

In most cases libxml tries to implement the specifications in a relatively strict way. To some extent libxml2 provide some support for the following other specification but don't claim to implement them:

  • Document Object Model (DOM) http://www.w3.org/TR/DOM-Level-2-Core/ it doesn't implement the API itself, gdome2 does this in top of libxml2
  • RFC 959 : libxml implements a basic FTP client code
  • RFC 1945 : HTTP/1.0, again a basic HTTP client code
  • SAX: a minimal SAX implementation compatible with early expat versions
  • DocBook SGML v4: libxml2 includes a hackish parser to transition to XML

Libxml2 is known to be very portable, should build and work without serious troubles on a variety of systems (Linux, Unix, Windows, CygWin, MacOs, MacOsX, RISC Os, OS/2, VMS, QNX, MVS, ...)

Separate documents:

  • the libxslt page providing an implementation of XSLT 1.0 and extensions on top of libxml2
  • the gdome2 page : a standard DOM2 implementation based on libxml2

Daniel Veillard