blob: 803b7952472d64c8cab5651ab751a61acafdd444 [file] [log] [blame]
Daniel Veillardd2190fa2010-09-30 13:58:22 +02001<?xml version="1.0" encoding="UTF-8"?>
Daniel Veillard1177ca42003-04-26 22:29:54 +00002<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
Daniel Veillarde38217a2013-05-10 15:40:13 +08004<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="SHORTCUT ICON" href="/favicon.ico" /><style type="text/css">
Daniel Veillard373a4752002-02-21 14:46:29 +00005TD {font-family: Verdana,Arial,Helvetica}
6BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
7H1 {font-family: Verdana,Arial,Helvetica}
8H2 {font-family: Verdana,Arial,Helvetica}
9H3 {font-family: Verdana,Arial,Helvetica}
Daniel Veillardb8cfbd12001-10-25 10:53:28 +000010A:link, A:visited, A:active { text-decoration: underline }
Daniel Veillard1177ca42003-04-26 22:29:54 +000011</style>
Daniel Veillarde38217a2013-05-10 15:40:13 +080012 <title>The XML C parser and toolkit of Gnome</title>
13
14</head>
15<body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo" /></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/"><img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XML C parser and toolkit of Gnome</h1><h2>libxml</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Main Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html">Home</a></li><li><a href="html/index.html">Reference Manual</a></li><li><a href="intro.html">Introduction</a></li><li><a href="FAQ.html">FAQ</a></li><li><a href="docs.html" style="font-weight:bold">Developer Menu</a></li><li><a href="bugs.html">Reporting bugs and getting help</a></li><li><a href="help.html">How to help</a></li><li><a href="downloads.html">Downloads</a></li><li><a href="news.html">Releases</a></li><li><a href="XMLinfo.html">XML</a></li><li><a href="XSLT.html">XSLT</a></li><li><a href="xmldtd.html">Validation &amp; DTDs</a></li><li><a href="encoding.html">Encodings support</a></li><li><a href="catalog.html">Catalog support</a></li><li><a href="namespaces.html">Namespaces</a></li><li><a href="contribs.html">Contributions</a></li><li><a href="examples/index.html" style="font-weight:bold">Code Examples</a></li><li><a href="html/index.html" style="font-weight:bold">API Menu</a></li><li><a href="guidelines.html">XML Guidelines</a></li><li><a href="ChangeLog.html">Recent Changes</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><a href="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://opencsw.org/packages/libxml2">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://lxml.de/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXML">Perl bindings</a></li><li><a href="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><a href="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><p></p><p style="text-align: right; font-style: italic; font-size: 10pt">"Programming
Daniel Veillardf781dba2006-06-09 13:34:49 +000016with libxml2 is like the thrilling embrace of an exotic stranger." <a href="http://diveintomark.org/archives/2004/02/18/libxml2">Mark
Daniel Veillarde38217a2013-05-10 15:40:13 +080017Pilgrim</a></p><p>Libxml2 is the XML C parser and toolkit developed for the Gnome project
Daniel Veillardf781dba2006-06-09 13:34:49 +000018(but usable outside of the Gnome platform), it is free software available
19under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT
20License</a>. XML itself is a metalanguage to design markup languages, i.e.
21text language where semantic and structure are added to the content using
22extra "markup" information enclosed between angle brackets. HTML is the most
23well-known markup language. Though the library is written in C <a href="python.html">a variety of language bindings</a> make it available in
Daniel Veillarde38217a2013-05-10 15:40:13 +080024other environments.</p><p>Libxml2 is known to be very portable, the library should build and work
Daniel Veillardf781dba2006-06-09 13:34:49 +000025without serious troubles on a variety of systems (Linux, Unix, Windows,
Daniel Veillarde38217a2013-05-10 15:40:13 +080026CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, VxWorks, ...)</p><p>Libxml2 implements a number of existing standards related to markup
27languages:</p><ul>
28 <li>the XML standard: <a href="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</a></li>
Daniel Veillarde2811272004-10-19 09:04:23 +000029 <li>Namespaces in XML: <a href="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</a></li>
30 <li>XML Base: <a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a></li>
Daniel Veillardf781dba2006-06-09 13:34:49 +000031 <li><a href="http://www.cis.ohio-state.edu/rfc/rfc2396.txt">RFC 2396</a> :
32 Uniform Resource Identifiers <a href="http://www.ietf.org/rfc/rfc2396.txt">http://www.ietf.org/rfc/rfc2396.txt</a></li>
Daniel Veillarde2811272004-10-19 09:04:23 +000033 <li>XML Path Language (XPath) 1.0: <a href="http://www.w3.org/TR/xpath">http://www.w3.org/TR/xpath</a></li>
34 <li>HTML4 parser: <a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a></li>
35 <li>XML Pointer Language (XPointer) Version 1.0: <a href="http://www.w3.org/TR/xptr">http://www.w3.org/TR/xptr</a></li>
36 <li>XML Inclusions (XInclude) Version 1.0: <a href="http://www.w3.org/TR/xinclude/">http://www.w3.org/TR/xinclude/</a></li>
Daniel Veillardf781dba2006-06-09 13:34:49 +000037 <li>ISO-8859-x encodings, as well as <a href="http://www.cis.ohio-state.edu/rfc/rfc2044.txt">rfc2044</a> [UTF-8]
38 and <a href="http://www.cis.ohio-state.edu/rfc/rfc2781.txt">rfc2781</a>
39 [UTF-16] Unicode encodings, and more if using iconv support</li>
Daniel Veillarde2811272004-10-19 09:04:23 +000040 <li>part of SGML Open Technical Resolution TR9401:1997</li>
41 <li>XML Catalogs Working Draft 06 August 2001: <a href="http://www.oasis-open.org/committees/entity/spec-2001-08-06.html">http://www.oasis-open.org/committees/entity/spec-2001-08-06.html</a></li>
Daniel Veillardf781dba2006-06-09 13:34:49 +000042 <li>Canonical XML Version 1.0: <a href="http://www.w3.org/TR/xml-c14n">http://www.w3.org/TR/xml-c14n</a>
43 and the Exclusive XML Canonicalization CR draft <a href="http://www.w3.org/TR/xml-exc-c14n">http://www.w3.org/TR/xml-exc-c14n</a></li>
Daniel Veillarde2811272004-10-19 09:04:23 +000044 <li>Relax NG, ISO/IEC 19757-2:2003, <a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html">http://www.oasis-open.org/committees/relax-ng/spec-20011203.html</a></li>
Daniel Veillardf781dba2006-06-09 13:34:49 +000045 <li>W3C XML Schemas Part 2: Datatypes <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/">REC 02 May
46 2001</a></li>
47 <li>W3C <a href="http://www.w3.org/TR/xml-id/">xml:id</a> Working Draft 7
48 April 2004</li>
Daniel Veillarde38217a2013-05-10 15:40:13 +080049</ul><p>In most cases libxml2 tries to implement the specifications in a
Daniel Veillardf781dba2006-06-09 13:34:49 +000050relatively strictly compliant way. As of release 2.4.16, libxml2 passed all
511800+ tests from the <a href="http://www.oasis-open.org/committees/xml-conformance/">OASIS XML Tests
Daniel Veillarde38217a2013-05-10 15:40:13 +080052Suite</a>.</p><p>To some extent libxml2 provides support for the following additional
53specifications but doesn't claim to implement them completely:</p><ul>
54 <li>Document Object Model (DOM) <a href="http://www.w3.org/TR/DOM-Level-2-Core/">http://www.w3.org/TR/DOM-Level-2-Core/</a>
Daniel Veillardf781dba2006-06-09 13:34:49 +000055 the document model, but it doesn't implement the API itself, gdome2 does
56 this on top of libxml2</li>
57 <li><a href="http://www.cis.ohio-state.edu/rfc/rfc959.txt">RFC 959</a> :
58 libxml2 implements a basic FTP client code</li>
59 <li><a href="http://www.cis.ohio-state.edu/rfc/rfc1945.txt">RFC 1945</a> :
60 HTTP/1.0, again a basic HTTP client code</li>
61 <li>SAX: a SAX2 like interface and a minimal SAX1 implementation compatible
62 with early expat versions</li>
Daniel Veillarde38217a2013-05-10 15:40:13 +080063</ul><p>A partial implementation of <a href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/">XML Schemas Part
Daniel Veillardf781dba2006-06-09 13:34:49 +0000641: Structure</a> is being worked on but it would be far too early to make any
Daniel Veillarde38217a2013-05-10 15:40:13 +080065conformance statement about it at the moment.</p><p>Separate documents:</p><ul>
66 <li><a href="http://xmlsoft.org/XSLT/">the libxslt page</a> providing an
Daniel Veillardf781dba2006-06-09 13:34:49 +000067 implementation of XSLT 1.0 and common extensions like EXSLT for
68 libxml2</li>
William M. Brack43a87292007-02-15 20:41:02 +000069 <li><a href="http://gdome2.cs.unibo.it/">the gdome2 page</a>
Daniel Veillardf781dba2006-06-09 13:34:49 +000070 : a standard DOM2 implementation for libxml2</li>
71 <li><a href="http://www.aleksey.com/xmlsec/">the XMLSec page</a>: an
72 implementation of <a href="http://www.w3.org/TR/xmldsig-core/">W3C XML
73 Digital Signature</a> for libxml2</li>
Daniel Veillardfde74702009-07-24 09:01:46 +020074 <li>also check the related links section for more related and active
Daniel Veillardf781dba2006-06-09 13:34:49 +000075 projects.</li>
Daniel Veillarde38217a2013-05-10 15:40:13 +080076</ul><p> Hosting sponsored by <a href="http://www.aoemedia.de/opensource-cms.html">Open Source CMS services</a> from AOE media.</p><p>Logo designed by <a href="mailto:liyanage@access.ch">Marc Liyanage</a>.</p><p><a href="bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body>
Daniel Veillardc9484202001-10-24 12:35:52 +000077</html>