<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>Langages de validation XML</h3> <p>Il existe plusieurs langages permettant de décrire une structure XML, dont :</p> <ul> <li>le langage des <strong>DTD</strong>, décrit dans la <a href="http://www.w3.org/TR/2008/REC-xml-20081126/">recommandation XML</a> du W3C</li> <li>le langage <a href="http://www.w3.org/TR/xmlschema-0/">XML Schema</a>, décrit également dans une recommandation du W3C</li> <li>le langage <a href="http://relaxng.org/">Relax NG</a>, décrit dans une <a href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=relax-ng">norme OASIS</a></li> </ul> <p><em>Ces trois langages ne sont pas fonctionnellement équivalents.</em>.</p> <p>Le programme java <a href="http://www.thaiopensource.com/relaxng/trang.html">trang</a> permet, dans une certaine mesure, la conversion entre ces formats.</p>