Dilib, module SxPath, commande SxPathTestOnePath

De Wicri Outils
Révision datée du 16 juin 2017 à 19:49 par imported>Jacques Ducloy (1 révision importée)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
LogoDilib.gif
Panneau travaux.png
Bibliothèque Dilib (ressources numériques)
Module SxPath

Cette commande est destinée à tester les SxPath Dilib.

 

Option -c

Cette option permet de compiler un SxPath en affichant le locationPath.

Exemple :

SxPathTestOnePath -c <<...
a/b
...

produira :

<locationPath><child><testName>a</testName></child><child><testName>b</testName></child></locationPath>

Option -f

Cette option permet de tester un SxPath en mode first. Exemple :

SxPathTestOnePath -f <<...
a/b
<rec><a><b>hello</b></a></rec>
...

produira :

<b>hello</b>