xpointer ( Schema )
Par commodité, la syntaxe d'Xml Path a été étendue par ajout d'Application Program Interfaces (API) sur les points et les intervalles respectivement avec le type de noeud point et range.
<?xml version="1.0"?>
<ListeEmployes
xmlns="http://www.up-comp.com/application/employes"
xmlns:xschemaInstance="http://www.w3.org/2001/XMLSchema-instance"
xschemaInstance:schemaLocation="http://www.up-comp.com/application/employes http://www.up-comp.com/application/employes.xsd">
<Employe id=7724>
<Nom>Mister Scott</Nom>
<Salaire>1000.0</Salaire>
<DateDEmbauche>2005-12-28 10:50:00</DateDEmbauche>
</Employe>
<Employe id=7832>
<Nom>Mister Allen</Nom>
<Salaire>1200.0</Salaire>
<DateDEmbauche>2002-01-26 11:09:10</DateDEmbauche>
</Employe>
<Employe id=7948>
<Nom>Lady Smith</Nom>
<Salaire>1400.0</Salaire>
<DateDEmbauche>2004-02-10 15:22:20</DateDEmbauche>
</Employe>
<Employe id=7954>
<Nom>Miss King</Nom>
<Salaire>2000.0</Salaire>
<DateDEmbauche>2003-04-01 08:12:20</DateDEmbauche>
</Employe>
</ListeEmployes>
<-- Selectionne le salaire de l'employe de numero 7948. -->
xpointer(/descendant::Employe[id=7948]/child::Salaire)