Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

The XML C parser and toolkit of Gnome

Introduction

Main Menu
Related links

This document describes libxml, the XMLC parser and toolkit developed for theGnomeproject. XML is a standardfor buildingtag-basedstructured documents/data.

Here are some key points about libxml:

  • Libxml2 exports Push (progressive) and Pull (blocking) typeparserinterfaces for both XML and HTML.
  • Libxml2 can do DTD validation at parse time, using a parseddocumentinstance, or with an arbitrary DTD.
  • Libxml2 includes complete XPath, XPointerand XIncludeimplementations.
  • It is written in plain C, making as few assumptions as possible,andsticking closely to ANSI C/POSIX for easy embedding. WorksonLinux/Unix/Windows, ported to a number of other platforms.
  • Basic support for HTTP and FTP client allowing applications tofetchremote resources.
  • The design is modular, most of the extensions can be compiled out.
  • The internal document representation is as close as possible to the DOMinterfaces.
  • Libxml2 also has a SAX like interface;theinterface is designed to be compatible with Expat.
  • This library is released under the MITLicense.See the Copyright file in the distribution for the precisewording.

Warning: unless you are forced to because your application links withaGnome-1.X library requiring it, Do Not Use libxml1,uselibxml2

Daniel Veillard