1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>libxml2 Reference Manual</title> 5<meta name="generator" content="Libxml2 devhelp stylesheet"> 6<link rel="stylesheet" href="style.css" type="text/css"> 7</head> 8<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 9<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> 10<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> 11<td><a accesskey="n" href="general.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> 12<th width="100%" align="center">libxml2 Reference Manual</th> 13</tr></table> 14<h2><span class="refentrytitle">libxml2 Reference Manual</span></h2> 15<p>Libxml2 is the XML C parser and toolkit developed for the Gnome project 16(but usable outside of the Gnome platform), it is free software available 17under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT 18License</a>. XML itself is a metalanguage to design markup languages, i.e. 19text language where semantic and structure are added to the content using 20extra "markup" information enclosed between angle brackets. HTML is the most 21well-known markup language. Though the library is written in C, a variety of 22language bindings make it available in other environments.</p> 23<p>Libxml2 implements a number of existing standards related to markup 24languages:</p> 25<ul> 26<li>the XML standard: <a href="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</a> 27</li> 28<li>Namespaces in XML: <a href="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</a> 29</li> 30<li>XML Base: <a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a> 31</li> 32<li> 33<a href="http://www.cis.ohio-state.edu/rfc/rfc2396.txt">RFC 2396</a> : 34Uniform Resource Identifiers <a href="http://www.ietf.org/rfc/rfc2396.txt">http://www.ietf.org/rfc/rfc2396.txt</a> 35</li> 36<li>XML Path Language (XPath) 1.0: <a href="http://www.w3.org/TR/xpath">http://www.w3.org/TR/xpath</a> 37</li> 38<li>HTML4 parser: <a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a> 39</li> 40<li>XML Pointer Language (XPointer) Version 1.0: <a href="http://www.w3.org/TR/xptr">http://www.w3.org/TR/xptr</a> 41</li> 42<li>XML Inclusions (XInclude) Version 1.0: <a href="http://www.w3.org/TR/xinclude/">http://www.w3.org/TR/xinclude/</a> 43</li> 44<li>ISO-8859-x encodings, as well as <a href="http://www.cis.ohio-state.edu/rfc/rfc2044.txt">rfc2044</a> [UTF-8] 45and <a href="http://www.cis.ohio-state.edu/rfc/rfc2781.txt">rfc2781</a> 46[UTF-16] Unicode encodings, and more if using iconv support</li> 47<li>part of SGML Open Technical Resolution TR9401:1997</li> 48<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> 49</li> 50<li>Canonical XML Version 1.0: <a href="http://www.w3.org/TR/xml-c14n">http://www.w3.org/TR/xml-c14n</a> 51and 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> 52</li> 53<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> 54</li> 55<li>W3C XML Schemas Part 2: Datatypes <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/">REC 02 May 562001</a> 57</li> 58<li>W3C <a href="http://www.w3.org/TR/xml-id/">xml:id</a> Working Draft 7 59April 2004</li> 60</ul> 61</body> 62</html> 63