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