<link href="/assets/64d0ba83aa42c90354ff97799bcfc0c2.css" type="text/css" rel="stylesheet"> <script src="/assets/6fd6663d5303bb7eda3ef7493fc29db6.js"></script> <script> $(document).ready(function() { anchors.options = { visible: 'hover', placement: 'right', truncate: 64 }; anchors.add('#body h2, #body h3, #body h4, #body h5'); }); </script> <script> hljs.initHighlightingOnLoad(); </script>

<h3>Programmation XML en Python</h3> <h4>Modules basés sur libxml2</h4> <ul> <li><a href="http://codespeak.net/lxml/">lxml</a></li> <li><a href="http://xmlsoft.org/XSLT/python.html">libxml2</a></li> </ul> <h4>Exemples</h4> <ul> <li>Transformation XSLT (module libxml2) : <a href="/cours/programmation_xml/programmation_python/exemple.py">exemple.py</a> ; la feuille de style : <a href="/cours/programmation_xml/programmation_python/outils2html.xsl">outils2html.xsl</a> ; le fichier XML : <a href="/cours/programmation_xml/programmation_python/outils_xml.xml">outils_xml.xml</a></li> <li>Construction d’un XML (module libxml2) : <a href="/cours/programmation_xml/programmation_python/exemple2.py">exemple2.py</a></li> </ul>