<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>Chemin de localisation XPath</h3> <p>Le chemin de localisation se construit par une suite d‘étapes, séparée par des ‘/’ . Chaque étape est construit avec les composants suivant :</p> <ol> <li>un axe ;</li> <li>un test de nœud ;</li> <li>des prédicats.</li> </ol> <p><a href="https://www.w3.org/TR/1999/REC-xpath-19991116/#location-paths">Exemples de chemin de localisation</a></p> <p>Il existe aussi une syntaxe abrégée, plus utilisée.</p> <p><a href="https://www.w3.org/TR/1999/REC-xpath-19991116/#path-abbrev">Exemples de syntaxe abrégée</a></p>