cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

EPIC 5.2 FOSI XPATH

NENESS
1-Newbie

EPIC 5.2 FOSI XPATH

Bonjour,

soit un fichier XML ou sgml tel que :

<pere>

<fils>

<petit_fils nom="paul"/>

<xxx>ddsdsddsd</xxx>

</fils>

</pere>

Je voudrai lorsque je suis sur l'élément "fils" savoir s'il existe un élément "petit_fils" ayant un attribut "nom" avec la valeur "paul".

<e-i-c gi="fils">

<att>

<fillval attname="nom" attloc="petit_fils" fillchar="conrule"> <!-- it's not OK -->

<charsubset>

<savetext textid="nom.txt" apend="0">

</charsubset>

</att>

....

</ e-i-c>

Merci de votre aide

Hello,

either an XML or SGML file as:

<pere>

<fils>

<petit_fils nom="paul"/>

<xxx>ddsdsddsd </xxx>

</fils>

</pere>

I want when I'm on the "fils" element whether there is a "petit_fils" element with an attribute "nom" with "paul" value.

<e-i-c gi="fils">

<att>

<fillval attname="nom" attloc="petit_fils" fillchar="conrule"> <!-- it's not OK -->

<charsubset>

<savetext textid="nom.txt" apend="0">

</charsubset>

</att>

</ e-i-c>

Thank you for your help

0 REPLIES 0
Top Tags