IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
</style><title>XML</title></head><bodybgcolor="#8b7765"text="#000000"link="#a06060"vlink="#000000"><tableborder="0"width="100%"cellpadding="5"cellspacing="0"align="center"><tr><tdwidth="120"><ahref="http://swpat.ffii.org/"><imgsrc="epatents.png"alt="Action against software patents"/></a></td><tdwidth="180"><ahref="http://www.gnome.org/"><imgsrc="gnome2.png"alt="Gnome2 Logo"/></a><ahref="http://www.w3.org/Status"><imgsrc="w3c.png"alt="W3C Logo"/></a><ahref="http://www.redhat.com/"><imgsrc="redhat.gif"alt="Red Hat Logo"/></a><divalign="left"><ahref="http://xmlsoft.org/"><imgsrc="Libxml2-Logo-180x168.gif"alt="Made with Libxml2 Logo"/></a></div></td><td><tableborder="0"width="90%"cellpadding="2"cellspacing="0"align="center"bgcolor="#000000"><tr><td><tablewidth="100%"border="0"cellspacing="1"cellpadding="3"bgcolor="#fffacd"><tr><tdalign="center"><h1>The XML C parser and toolkit of Gnome</h1><h2>XML</h2></td></tr></table></td></tr></table></td></tr></table><tableborder="0"cellpadding="4"cellspacing="0"width="100%"align="center"><tr><tdbgcolor="#8b7765"><tableborder="0"cellspacing="0"cellpadding="2"width="100%"><tr><tdvalign="top"width="200"bgcolor="#8b7765"><tableborder="0"cellspacing="0"cellpadding="1"width="100%"bgcolor="#000000"><tr><td><tablewidth="100%"border="0"cellspacing="1"cellpadding="3"><tr><tdcolspan="1"bgcolor="#eecfa1"align="center"><center><b>Main Menu</b></center></td></tr><tr><tdbgcolor="#fffacd"><formaction="search.php"enctype="application/x-www-form-urlencoded"method="get"><inputname="query"type="text"size="20"value=""/><inputname="submit"type="submit"value="Search ..."/></form><ul><li><ahref="index.html">Home</a></li><li><ahref="html/index.html">Reference Manual</a></li><li><ahref="intro.html">Introduction</a></li><li><ahref="FAQ.html">FAQ</a></li><li><ahref="docs.html"style="font-weight:bold">Developer Menu</a></li><li><ahref="bugs.html">Reporting bugs and getting help</a></li><li><ahref="help.html">How to help</a></li><li><ahref="downloads.html">Downloads</a></li><li><ahref="news.html">Releases</a></li><li><ahref="XMLinfo.html">XML</a></li><li><ahref="XSLT.html">XSLT</a></li><li><ahref="xmldtd.html">Validation & DTDs</a></li><li><ahref="encoding.html">Encodings support</a></li><li><ahref="catalog.html">Catalog support</a></li><li><ahref="namespaces.html">Namespaces</a></li><li><ahref="contribs.html">Contributions</a></li><li><ahref="examples/index.html"style="font-weight:bold">Code Examples</a></li><li><ahref="html/index.html"style="font-weight:bold">API Menu</a></li><li><ahref="guidelines.html">XML Guidelines</a></li><li><ahref="ChangeLog.html">Recent Changes</a></li></ul></td></tr></table><tablewidth="100%"border="0"cellspacing="1"cellpadding="3"><tr><tdcolspan="1"bgcolor="#eecfa1"align="center"><center><b>Related links</b></center></td></tr><tr><tdbgcolor="#fffacd"><ul><li><ahref="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><ahref="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><ahref="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><ahref="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><ahref="ftp://xmlsoft.org/">FTP</a></li><li><ahref="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><ahref="http://www.blastwave.org/packages.php/libxml2">Solaris binaries</a></li><li><ahref="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><ahref="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><ahref="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><ahref="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><ahref="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><ahref="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><ahref="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><tdvalign="top"bgcolor="#8b7765"><tableborder="0"cellspacin
standard</a>formarkup-based structured documents. Here is <aname="example"id="example">an example XMLdocument</a>:</p><pre><?xml version="1.0"?>
</EXAMPLE></pre><p>The first line specifies that it is an XML document and gives
usefulinformation about its encoding. Then the rest of the document is a
textformat whose structure is specified by tags between brackets.
<strong>Eachtag opened has to be closed</strong>. XML is pedantic about this.
However, ifa tag is empty (no content), a single tag can serve as both the
opening andclosing tag if it ends with <code>/></code>rather than
with<code>></code>. Note that, for example, the image tag has no content
(justan attribute) and is closed by ending the tag with
<code>/></code>.</p><p>XML can be applied successfully to a wide range of tasks, ranging fromlong
term structured document maintenance (where it follows the steps ofSGML) to
simple data encoding mechanisms like configuration file formatting(glade),
spreadsheets (gnumeric), or even shorter lived documents such asWebDAV where
it is used to encode remote calls between a client and aserver.</p><p><ahref="bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body></html>