1998-10-27 06:21:04 +00:00
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
1999-08-10 19:04:08 +00:00
"http://www.w3.org/TR/REC-html40/loose.dtd">
1998-10-27 06:21:04 +00:00
< html >
< head >
1999-08-10 19:04:08 +00:00
< title > The XML library for Gnome< / title >
1999-11-19 17:46:26 +00:00
< meta name = "GENERATOR" content = "amaya V2.2" >
1998-10-27 06:21:04 +00:00
< / head >
1999-08-10 19:04:08 +00:00
< body bgcolor = "#ffffff" >
1998-10-27 06:21:04 +00:00
< h1 align = "center" > The XML library for Gnome< / h1 >
1999-08-10 19:04:08 +00:00
1999-09-04 18:27:23 +00:00
< h2 style = "text-align: center" > libxml, a.k.a. gnome-xml< / h2 >
< p > < / p >
1999-09-24 14:03:48 +00:00
< ul >
< li > < a href = "#Introducti" > Introduction< / a > < / li >
< li > < a href = "#Documentat" > Documentation< / a > < / li >
1999-12-12 13:03:50 +00:00
< li > < a href = "#Downloads" > Downloads< / a > < / li >
1999-09-24 14:03:48 +00:00
< li > < a href = "#News" > News< / a > < / li >
< li > < a href = "#XML" > XML< / a > < / li >
< li > < a href = "#tree" > The tree output< / a > < / li >
< li > < a href = "#interface" > The SAX interface< / a > < / li >
< li > < a href = "#library" > The XML library interfaces< / a >
< ul >
< li > < a href = "#Invoking" > Invoking the parser< / a > < / li >
< li > < a href = "#Building" > Building a tree from scratch< / a > < / li >
< li > < a href = "#Traversing" > Traversing the tree< / a > < / li >
< li > < a href = "#Modifying" > Modifying the tree< / a > < / li >
< li > < a href = "#Saving" > Saving the tree< / a > < / li >
< li > < a href = "#Compressio" > Compression< / a > < / li >
< / ul >
< / li >
< li > < a href = "#Entities" > Entities or no entities< / a > < / li >
< li > < a href = "#Namespaces" > Namespaces< / a > < / li >
< li > < a href = "#Validation" > Validation< / a > < / li >
< li > < a href = "#Principles" > DOM principles< / a > < / li >
< li > < a href = "#real" > A real example< / a > < / li >
< / ul >
< h2 > < a name = "Introducti" > Introduction< / a > < / h2 >
1999-09-04 18:27:23 +00:00
1999-08-10 19:04:08 +00:00
< p > This document describes the < a href = "http://www.w3.org/XML/" > XML< / a >
library provideed in the < a href = "http://www.gnome.org/" > Gnome< / a > framework.
1999-09-04 18:27:23 +00:00
XML is a standard to build tag based structured documents/data.< / p >
1999-08-10 19:04:08 +00:00
< p > The internal document repesentation is as close as possible to the < a
1999-09-04 18:27:23 +00:00
href="http://www.w3.org/DOM/">DOM< / a > interfaces.< / p >
1999-08-10 19:04:08 +00:00
< p > Libxml also has a < a href = "http://www.megginson.com/SAX/index.html" > SAX
interface< / a > , < a href = "mailto:james@daa.com.au" > James Henstridge< / a > made < a
href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">a nice
documentation< / a > expaining how to use it. The interface is as compatible as
possible with < a href = "http://www.jclark.com/xml/expat.html" > Expat< / a >
one.< / p >
< p > There is also a mailing-list < a
1999-09-03 14:28:40 +00:00
href="mailto:xml@rufus.w3.org">xml@rufus.w3.org< / a > for libxml, with an < a
1999-12-15 19:08:24 +00:00
href="http://xmlsoft.org/messages">on-line archive< / a > . To subscribe to this
majordomo based list, send a mail to < a
1999-09-03 14:28:40 +00:00
href="mailto:majordomo@rufus.w3.org">majordomo@rufus.w3.org< / a > with
"subscribe xml" in the < strong > content< / strong > of the message.< / p >
1999-08-10 19:04:08 +00:00
< p > This library is released both under the W3C Copyright and the GNU LGP,
basically everybody should be happy, if not, drop me a mail.< / p >
< p > People are invited to use the < a
href="http://cvs.gnome.org/lxr/source/gdome/">gdome Gnome module to< / a > get a
full DOM interface, thanks to < a href = "mailto:raph@levien.com" > Raph
Levien< / a > , check his < a
href="http://www.levien.com/gnome/domination.html">DOMination paper< / a > . He
uses it for his implementation of < a
href="http://www.w3.org/Graphics/SVG/">SVG< / a > called < a
href="http://www.levien.com/svg/">gill< / a > .< / p >
1998-10-27 06:21:04 +00:00
1999-09-24 14:03:48 +00:00
< h2 > < a name = "Documentat" > Documentation< / a > < / h2 >
1999-09-04 18:27:23 +00:00
1999-11-19 17:46:26 +00:00
< p > The code is commented in a < a href = "