From:
Date: 31/10/2003 - 19:09
Bonjour tout le monde,
J'ai ce xml et je voudrais compter les Y dans la balise pax/infant,
comment dois je faire ?
<pax index="PaxType2" hidden="y">
<paxtype id="ADT" type="paxtype"/>
<infant id="PaxType2_Infant">Y</infant>
<infant_option
id="PaxType2_Infant_Option">YES</infant_option>
<name lastname=""/>
</pax>
<pax index="PaxType2" hidden="y">
<paxtype id="ADT" type="paxtype"/>
<infant id="PaxType2_Infant">Y</infant>
<infant_option
id="PaxType2_Infant_Option">YES</infant_option>
<name lastname=""/>
</pax>
<pax index="PaxType2" hidden="y">
<paxtype id="ADT" type="paxtype"/>
<infant id="PaxType2_Infant">N</infant>
<infant_option
id="PaxType2_Infant_Option">YES</infant_option>
<name lastname=""/>
</pax>
<pax index="PaxType2" hidden="y">
<paxtype id="ADT" type="paxtype"/>
<infant id="PaxType2_Infant">Y</infant>
<infant_option
id="PaxType2_Infant_Option">YES</infant_option>
<name lastname=""/>
</pax>
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|