blob: 7621bbc219ed11cb623583d825ea2df4a0fd1243 [file] [log] [blame]
Daniel Veillard1177ca42003-04-26 22:29:54 +00001<?xml version="1.0" encoding="ISO-8859-1"?>
2<!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">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
6 <link rel="SHORTCUT ICON" href="/favicon.ico" />
7 <style type="text/css">
Daniel Veillard373a4752002-02-21 14:46:29 +00008TD {font-family: Verdana,Arial,Helvetica}
9BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
10H1 {font-family: Verdana,Arial,Helvetica}
11H2 {font-family: Verdana,Arial,Helvetica}
12H3 {font-family: Verdana,Arial,Helvetica}
Daniel Veillardb8cfbd12001-10-25 10:53:28 +000013A:link, A:visited, A:active { text-decoration: underline }
Daniel Veillard1177ca42003-04-26 22:29:54 +000014</style>
Daniel Veillard688f6692004-03-26 10:57:38 +000015 <title>The XML C parser and toolkit of Gnome
16</title>
Daniel Veillard1177ca42003-04-26 22:29:54 +000017 </head>
18 <body bgcolor="#8b7765" text="#000000" link="#000000" vlink="#000000">
19 <table border="0" width="100%" cellpadding="5" cellspacing="0" align="center">
20 <tr>
Daniel Veillard6c57dca2003-09-03 10:10:51 +000021 <td width="120">
22 <a href="http://swpat.ffii.org/">
Daniel Veillarde8ba84e2003-11-18 13:54:15 +000023 <img src="epatents.png" alt="Action against software patents" />
Daniel Veillard6c57dca2003-09-03 10:10:51 +000024 </a>
25 </td>
Daniel Veillard1177ca42003-04-26 22:29:54 +000026 <td width="180">
27 <a href="http://www.gnome.org/">
Daniel Veillarde8ba84e2003-11-18 13:54:15 +000028 <img src="gnome2.png" alt="Gnome2 Logo" />
Daniel Veillard1177ca42003-04-26 22:29:54 +000029 </a>
30 <a href="http://www.w3.org/Status">
Daniel Veillarde8ba84e2003-11-18 13:54:15 +000031 <img src="w3c.png" alt="W3C Logo" />
Daniel Veillard1177ca42003-04-26 22:29:54 +000032 </a>
33 <a href="http://www.redhat.com/">
Daniel Veillarde8ba84e2003-11-18 13:54:15 +000034 <img src="redhat.gif" alt="Red Hat Logo" />
Daniel Veillard1177ca42003-04-26 22:29:54 +000035 </a>
36 <div align="left">
37 <a href="http://xmlsoft.org/">
Daniel Veillarde8ba84e2003-11-18 13:54:15 +000038 <img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" />
Daniel Veillard1177ca42003-04-26 22:29:54 +000039 </a>
40 </div>
41 </td>
42 <td>
43 <table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000">
44 <tr>
45 <td>
46 <table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd">
47 <tr>
48 <td align="center">
Daniel Veillard688f6692004-03-26 10:57:38 +000049 <h1>The XML C parser and toolkit of Gnome
50</h1>
51 <h2>libxml
52</h2>
Daniel Veillard1177ca42003-04-26 22:29:54 +000053 </td>
54 </tr>
55 </table>
56 </td>
57 </tr>
58 </table>
59 </td>
60 </tr>
61 </table>
62 <table border="0" cellpadding="4" cellspacing="0" width="100%" align="center">
63 <tr>
64 <td bgcolor="#8b7765">
65 <table border="0" cellspacing="0" cellpadding="2" width="100%">
66 <tr>
67 <td valign="top" width="200" bgcolor="#8b7765">
68 <table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000">
69 <tr>
70 <td>
71 <table width="100%" border="0" cellspacing="1" cellpadding="3">
72 <tr>
73 <td colspan="1" bgcolor="#eecfa1" align="center">
74 <center>
Daniel Veillard688f6692004-03-26 10:57:38 +000075 <b>Main Menu
76</b>
Daniel Veillard1177ca42003-04-26 22:29:54 +000077 </center>
78 </td>
79 </tr>
80 <tr>
81 <td bgcolor="#fffacd">
82 <form action="search.php" enctype="application/x-www-form-urlencoded" method="get">
83 <input name="query" type="text" size="20" value="" />
84 <input name="submit" type="submit" value="Search ..." />
85 </form>
86 <ul>
87 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +000088 <a href="index.html">Home
89</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +000090 </li>
91 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +000092 <a href="intro.html">Introduction
93</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +000094 </li>
95 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +000096 <a href="FAQ.html">FAQ
97</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +000098 </li>
99 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000100 <a href="docs.html" style="font-weight:bold">Developer Menu
101</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000102 </li>
103 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000104 <a href="bugs.html">Reporting bugs and getting help
105</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000106 </li>
107 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000108 <a href="help.html">How to help
109</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000110 </li>
111 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000112 <a href="downloads.html">Downloads
113</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000114 </li>
115 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000116 <a href="news.html">News
117</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000118 </li>
119 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000120 <a href="XMLinfo.html">XML
121</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000122 </li>
123 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000124 <a href="XSLT.html">XSLT
125</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000126 </li>
127 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000128 <a href="xmldtd.html">Validation &amp; DTDs
129</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000130 </li>
131 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000132 <a href="encoding.html">Encodings support
133</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000134 </li>
135 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000136 <a href="catalog.html">Catalog support
137</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000138 </li>
139 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000140 <a href="namespaces.html">Namespaces
141</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000142 </li>
143 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000144 <a href="contribs.html">Contributions
145</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000146 </li>
147 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000148 <a href="examples/index.html" style="font-weight:bold">Code Examples
149</a>
Daniel Veillarda59853a2003-11-12 22:50:47 +0000150 </li>
151 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000152 <a href="html/index.html" style="font-weight:bold">API Menu
153</a>
Daniel Veillarde8ba84e2003-11-18 13:54:15 +0000154 </li>
155 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000156 <a href="guidelines.html">XML Guidelines
157</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000158 </li>
159 </ul>
160 </td>
161 </tr>
162 </table>
163 <table width="100%" border="0" cellspacing="1" cellpadding="3">
164 <tr>
165 <td colspan="1" bgcolor="#eecfa1" align="center">
166 <center>
Daniel Veillard688f6692004-03-26 10:57:38 +0000167 <b>Related links
168</b>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000169 </center>
170 </td>
171 </tr>
172 <tr>
173 <td bgcolor="#fffacd">
174 <ul>
175 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000176 <a href="http://mail.gnome.org/archives/xml/">Mail archive
177</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000178 </li>
179 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000180 <a href="http://xmlsoft.org/XSLT/">XSLT libxslt
181</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000182 </li>
183 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000184 <a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2
185</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000186 </li>
187 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000188 <a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec
189</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000190 </li>
191 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000192 <a href="ftp://xmlsoft.org/">FTP
193</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000194 </li>
195 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000196 <a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries
197</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000198 </li>
199 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000200 <a href="http://garypennington.net/libxml2/">Solaris binaries
201</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000202 </li>
203 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000204 <a href="http://www.zveno.com/open_source/libxml2xslt.html">MacOsX binaries
205</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000206 </li>
207 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000208 <a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings
209</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000210 </li>
211 <li>
Daniel Veillard688f6692004-03-26 10:57:38 +0000212 <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker
213</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000214 </li>
215 </ul>
216 </td>
217 </tr>
218 </table>
219 </td>
220 </tr>
221 </table>
222 </td>
223 <td valign="top" bgcolor="#8b7765">
224 <table border="0" cellspacing="0" cellpadding="1" width="100%">
225 <tr>
226 <td>
227 <table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000">
228 <tr>
229 <td>
230 <table border="0" cellpadding="3" cellspacing="1" width="100%">
231 <tr>
232 <td bgcolor="#fffacd">
233 <p></p>
Daniel Veillard7ebac022004-02-25 22:36:35 +0000234 <p style="text-align: right; font-style: italic; font-size: 10pt">"Programming
Daniel Veillard688f6692004-03-26 10:57:38 +0000235with libxml2 is like the thrilling embrace of an exotic stranger."
236 <a href="http://diveintomark.org/archives/2004/02/18/libxml2">Mark
237Pilgrim
238</a>
239</p>
Daniel Veillard598bec32003-07-06 10:02:03 +0000240 <p>Libxml2 is the XML C parser and toolkit developed for the Gnome project
Daniel Veillard23a52c52003-08-18 10:01:18 +0000241(but usable outside of the Gnome platform), it is free software available
Daniel Veillard688f6692004-03-26 10:57:38 +0000242under the
243 <a href="http://www.opensource.org/licenses/mit-license.html">MIT
244License
245</a>
246. XML itself is a metalanguage to design markup languages, i.e.
Daniel Veillardeec1ae92003-09-09 13:11:01 +0000247text language where semantic and structure are added to the content using
Daniel Veillard024f1992003-12-10 16:43:49 +0000248extra "markup" information enclosed between angle brackets. HTML is the most
Daniel Veillard688f6692004-03-26 10:57:38 +0000249well-known markup language. Though the library is written in C
250 <a href="python.html">a variety of language bindings
251</a>
252 make it available in
253other environments.
254</p>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000255 <p>Libxml2 is known to be very portable, the library should build and work
Daniel Veillard710823b2003-03-04 10:05:52 +0000256without serious troubles on a variety of systems (Linux, Unix, Windows,
Daniel Veillard688f6692004-03-26 10:57:38 +0000257CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)
258</p>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000259 <p>Libxml2 implements a number of existing standards related to markup
Daniel Veillard688f6692004-03-26 10:57:38 +0000260languages:
261</p>
262 <ul> <li>the XML standard:
263 <a href="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml
264</a>
265</li>
266
267
268 <li>Namespaces in XML:
269 <a href="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/
270</a>
271</li>
272
273
274 <li>XML Base:
275 <a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/
276</a>
277</li>
278
279
280 <li> <a href="http://www.cis.ohio-state.edu/rfc/rfc2396.txt">RFC 2396
281</a>
282 :
283 Uniform Resource Identifiers
284 <a href="http://www.ietf.org/rfc/rfc2396.txt">http://www.ietf.org/rfc/rfc2396.txt
285</a>
286</li>
287
288
289 <li>XML Path Language (XPath) 1.0:
290 <a href="http://www.w3.org/TR/xpath">http://www.w3.org/TR/xpath
291</a>
292</li>
293
294
295 <li>HTML4 parser:
296 <a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/
297</a>
298</li>
299
300
301 <li>XML Pointer Language (XPointer) Version 1.0:
302 <a href="http://www.w3.org/TR/xptr">http://www.w3.org/TR/xptr
303</a>
304</li>
305
306
307 <li>XML Inclusions (XInclude) Version 1.0:
308 <a href="http://www.w3.org/TR/xinclude/">http://www.w3.org/TR/xinclude/
309</a>
310</li>
311
312
313 <li>ISO-8859-x encodings, as well as
314 <a href="http://www.cis.ohio-state.edu/rfc/rfc2044.txt">rfc2044
315</a>
316 [UTF-8]
317 and
318 <a href="http://www.cis.ohio-state.edu/rfc/rfc2781.txt">rfc2781
319</a>
320
321 [UTF-16] Unicode encodings, and more if using iconv support
322</li>
323
324
325 <li>part of SGML Open Technical Resolution TR9401:1997
326</li>
327
328
329 <li>XML Catalogs Working Draft 06 August 2001:
330 <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
331</a>
332</li>
333
334
335 <li>Canonical XML Version 1.0:
336 <a href="http://www.w3.org/TR/xml-c14n">http://www.w3.org/TR/xml-c14n
337</a>
338
339 and the Exclusive XML Canonicalization CR draft
340 <a href="http://www.w3.org/TR/xml-exc-c14n">http://www.w3.org/TR/xml-exc-c14n
341</a>
342</li>
343
344
345 <li>Relax NG, ISO/IEC 19757-2:2003,
346 <a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html">http://www.oasis-open.org/committees/relax-ng/spec-20011203.html
347</a>
348</li>
349
350
351 <li>W3C XML Schemas Part 2: Datatypes
352 <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/">REC 02 May
353 2001
354</a>
355</li>
356
Daniel Veillardeca726d2004-04-18 21:47:34 +0000357
358 <li>W3C
359 <a href="http://www.w3.org/TR/xml-id/">xml:id
360</a>
361 Working Draft 7
362 April 2004
363</li>
364
Daniel Veillard688f6692004-03-26 10:57:38 +0000365
Daniel Veillardc9484202001-10-24 12:35:52 +0000366</ul>
Daniel Veillard95c09d92003-07-07 12:11:06 +0000367 <p>In most cases libxml2 tries to implement the specifications in a
Daniel Veillard7c4eb632004-04-19 21:29:12 +0000368relatively strictly compliant way. As of release 2.4.16, libxml2 passed all
Daniel Veillard688f6692004-03-26 10:57:38 +00003691800+ tests from the
370 <a href="http://www.oasis-open.org/committees/xml-conformance/">OASIS XML Tests
371Suite
372</a>
373.
374</p>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000375 <p>To some extent libxml2 provides support for the following additional
Daniel Veillard688f6692004-03-26 10:57:38 +0000376specifications but doesn't claim to implement them completely:
377</p>
378 <ul> <li>Document Object Model (DOM)
379 <a href="http://www.w3.org/TR/DOM-Level-2-Core/">http://www.w3.org/TR/DOM-Level-2-Core/
380</a>
381
Daniel Veillard7c4eb632004-04-19 21:29:12 +0000382 the document model, but it doesn't implement the API itself,
383 gdome2 does this on top of libxml2
Daniel Veillard688f6692004-03-26 10:57:38 +0000384</li>
385
386
387 <li> <a href="http://www.cis.ohio-state.edu/rfc/rfc959.txt">RFC 959
388</a>
389 :
390 libxml2 implements a basic FTP client code
391</li>
392
393
394 <li> <a href="http://www.cis.ohio-state.edu/rfc/rfc1945.txt">RFC 1945
395</a>
396 :
397 HTTP/1.0, again a basic HTTP client code
398</li>
399
400
Daniel Veillard7c4eb632004-04-19 21:29:12 +0000401 <li>SAX: a SAX2 like interface and a minimal SAX1 implementation compatible
402 with early expat versions
Daniel Veillard688f6692004-03-26 10:57:38 +0000403</li>
404
405
Daniel Veillard9c466822001-10-25 12:03:39 +0000406</ul>
Daniel Veillard688f6692004-03-26 10:57:38 +0000407 <p>A partial implementation of
408 <a href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/">XML Schemas Part
4091: Structure
410</a>
411 is being worked on but it would be far too early to make any
412conformance statement about it at the moment.
413</p>
414 <p>Separate documents:
415</p>
416 <ul> <li> <a href="http://xmlsoft.org/XSLT/">the libxslt page
417</a>
418 providing an
Daniel Veillard2d347fa2002-03-17 10:34:11 +0000419 implementation of XSLT 1.0 and common extensions like EXSLT for
Daniel Veillard688f6692004-03-26 10:57:38 +0000420 libxml2
421</li>
422
423
424 <li> <a href="http://www.cs.unibo.it/~casarini/gdome2/">the gdome2 page
425</a>
426
427 : a standard DOM2 implementation for libxml2
428</li>
429
430
431 <li> <a href="http://www.aleksey.com/xmlsec/">the XMLSec page
432</a>
433: an
434 implementation of
435 <a href="http://www.w3.org/TR/xmldsig-core/">W3C XML
436 Digital Signature
437</a>
438 for libxml2
439</li>
440
441
442 <li>also check the related links section below for more related and active
443 projects.
444</li>
445
446
Daniel Veillardc9484202001-10-24 12:35:52 +0000447</ul>
Daniel Veillard688f6692004-03-26 10:57:38 +0000448 <p>Logo designed by
449 <a href="mailto:liyanage@access.ch">Marc Liyanage
450</a>
451.
452</p>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000453 <p>
Daniel Veillard688f6692004-03-26 10:57:38 +0000454 <a href="bugs.html">Daniel Veillard
455</a>
Daniel Veillard1177ca42003-04-26 22:29:54 +0000456 </p>
457 </td>
458 </tr>
459 </table>
460 </td>
461 </tr>
462 </table>
463 </td>
464 </tr>
465 </table>
466 </td>
467 </tr>
468 </table>
469 </td>
470 </tr>
471 </table>
472 </body>
Daniel Veillardc9484202001-10-24 12:35:52 +0000473</html>