<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>
<h2>Le langage XPath 1.0</h2> <p>Le langage XPath se base sur une représentation arborescente du document XML. Il permet de sélectionner des nœuds en fonction de différents critères. Il offre également des fonctions élémentaires pour manipuler le contenu textuel.</p> <ul> <li>C'est un langage qui s'utilise conjointement avec d'autres technologies XML : XSLT, mais aussi XPointer, XLink, XQuery, XInclude, ...</li> <li>XPath 1.0 est défini dans une <a href="https://www.w3.org/TR/1999/REC-xpath-19991116/">recommandation du W3C</a>.</li> <li>Nous utiliserons XPath 1.0 avec XSLT 1.0.</li> <li>Il existe également une <a href="https://www.w3.org/TR/xpath20/">version 2</a>, utilisable avec XSLT 2, et une <a href="https://www.w3.org/TR/xpath-3/">version 3</a>, utilisable avec XSLT 3</li> </ul>