mardi 9 août 2016

Can I take only a part of a string value in Xpath?

I have this code here..

<detail status="ok">
   <elapsed>0</elapsed>
   <msg>Order sucessfully created. Order number is [100000017385]</msg>
</detail>

Is there a way for me to only get the string value "[100000017385]" only?

What should my Xpath look like?

Aucun commentaire:

Enregistrer un commentaire