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