<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wicri-demo.istex.fr/Wicri/Outils/fr/index.php?action=history&amp;feed=atom&amp;title=Libxml2</id>
	<title>Libxml2 - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wicri-demo.istex.fr/Wicri/Outils/fr/index.php?action=history&amp;feed=atom&amp;title=Libxml2"/>
	<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Outils/fr/index.php?title=Libxml2&amp;action=history"/>
	<updated>2026-04-19T05:11:23Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.31.10</generator>
	<entry>
		<id>https://wicri-demo.istex.fr/Wicri/Outils/fr/index.php?title=Libxml2&amp;diff=3959&amp;oldid=prev</id>
		<title>imported&gt;Jacques Ducloy : 1 révision importée</title>
		<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Outils/fr/index.php?title=Libxml2&amp;diff=3959&amp;oldid=prev"/>
		<updated>2017-06-16T17:55:00Z</updated>

		<summary type="html">&lt;p&gt;1 révision importée&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Version du 16 juin 2017 à 17:55&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Jacques Ducloy</name></author>
		
	</entry>
	<entry>
		<id>https://wicri-demo.istex.fr/Wicri/Outils/fr/index.php?title=Libxml2&amp;diff=3958&amp;oldid=prev</id>
		<title>imported&gt;Jacques Ducloy : /* Compilation */</title>
		<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Outils/fr/index.php?title=Libxml2&amp;diff=3958&amp;oldid=prev"/>
		<updated>2012-04-30T21:03:34Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Compilation&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Minuscule}}&lt;br /&gt;
&lt;br /&gt;
'''libxml''' est une bibliothèque logicielle pour manipuler des documents xml.&lt;br /&gt;
&lt;br /&gt;
==Hello World==&lt;br /&gt;
&lt;br /&gt;
===Le programme C===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
 /*&lt;br /&gt;
 * Test libxml &lt;br /&gt;
 * doit produire : &amp;lt;hello&amp;gt;World&amp;lt;/hello&amp;gt;&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;libxml/parser.h&amp;gt;&lt;br /&gt;
#include &amp;lt;libxml/tree.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
    xmlDocPtr doc = NULL;                /* pointeur sur le document Xml */&lt;br /&gt;
    xmlNodePtr root_node = NULL;         /* pointeur sur l'élément racine */&lt;br /&gt;
&lt;br /&gt;
    doc = xmlNewDoc(BAD_CAST &amp;quot;1.0&amp;quot;);     /* création du document */&lt;br /&gt;
    root_node = xmlNewNode(NULL, BAD_CAST &amp;quot;hello&amp;quot;);&lt;br /&gt;
                                         /* création du nœud racine */&lt;br /&gt;
    xmlAddChild(root_node, xmlNewText(BAD_CAST &amp;quot;World&amp;quot;));&lt;br /&gt;
                                         /* ajout d'un fils de type texte */&lt;br /&gt;
    xmlDocSetRootElement(doc, root_node);&lt;br /&gt;
                                         /* affectation de la racine au document */&lt;br /&gt;
    xmlSaveFile(&amp;quot;-&amp;quot;,doc);&lt;br /&gt;
                                         /* écriture du document */&lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compilation===&lt;br /&gt;
&lt;br /&gt;
Exemple sur [[Macintosh]] :&lt;br /&gt;
&lt;br /&gt;
   gcc testXmlHello.c -ll -o testXmlHello -I/usr/include/libxml2 /usr/lib/libxml2.dylib&lt;br /&gt;
&lt;br /&gt;
==Voir aussi==&lt;br /&gt;
&lt;br /&gt;
* le site de la bibliothèque : http://xmlsoft.org/&lt;br /&gt;
&lt;br /&gt;
[[catégorie:analyseur syntaxique XML]]&lt;br /&gt;
&lt;br /&gt;
[[en:libxml2]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Jacques Ducloy</name></author>
		
	</entry>
</feed>