From: thierry pilet (tpilet@geomatic.ch)
Date: 08/05/2003 - 16:16
Mon problème est peut-être trivial, mais je ne sais pas comment le régler en xsl...
j'ai une arbre xml qui contien des randonnées, pour chaque randonnées j'ai un certain nb d'attributs:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<RESULTAT>
<BER_RANDOS>
<LOCALITE_18>Giessbach</LOCALITE_18>
<ID_OBJET>8</ID_OBJET>
<TITRE>Heimatstil am Brienzersee</TITRE>
<H>1</H>
<M>25</M>
<PERIODE LIBELLE="Jahreszeit">
<value_PERIODE>Sommer</value_PERIODE>
<value_PERIODE>Herbst</value_PERIODE>
<value_PERIODE>Frühling</value_PERIODE>
</PERIODE>
<REGION LIBELLE="Region"><![CDATA[Jungfrauregion / Oberhasli]]></REGION>
<LOCALITE_ARR>Iseltwald</LOCALITE_ARR>
<XCOO>176160</XCOO>
<YCOO>644675</YCOO>
<LONGUEUR>6</LONGUEUR>
<PARCOURS>Giessbach-Underholz-Gloota-Gool-Iseltwald</PARCOURS>
<MEMBERS>nein</MEMBERS>
<ROUND>nein</ROUND>
<MONTAGNE>nein</MONTAGNE>
</BER_RANDOS>
....
</RESULTAT>
J'aimerais rechercher toutes les randos <BER_RANDOS> dont la durée <H> est située entre 3h et 5h mais d'une longueur <LONGUEUR> de moins de 10km et qui parte d'une ville donnée <LOCALITE_18>
Peut-on ce passer de fonction Choose, When ou IF en cascade ?
Merci pour vos réponses
----------------------------------------------------------------------------------
Visitez http://www.swissgeo.ch
----------------------------------------------------------------------------------
Thierry Pilet Tel. ++41 21 651 30 32
Geomatic Ingenierie ++41 21 651 30 00
Ch. des Croisettes 26-28 Fax ++41 21 651 30 35
Mobile: ++41 76 325 69 20
CH-1066 Epalinges E-M tpilet@geomatic.ch
site web : www.geomatic.ch
plan dynamique:
tpilet@geomatic.ch;269933">http://www.swissgeo.ch/mailit.php?tpilet@geomatic.ch;269933
-----------------------------------------------------------------------------------
Geomatic Ingenierie: la maitrise de l'information geographique
-----------------------------------------------------------------------------------
--
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
|