Fw: Re: les booléens

"Tiscar Sebastien" <[email protected]>
Newsgroups gmane.text.xml.french.tech,gmane.spam.detected
Message-ID <[email protected]>
Bonjour,
ma question portait plutôt sur le stockage dans une variable voir dans un
paramètre...
par exemple actuellement j'écris
<xsl:call template name="x">
  <xsl:with-param name="isOK">true</xsl:with-param>
</xsl:call-template>

<xsl:template name="x">
  <xsl:param name="isOK" select="string('false')"/>
</xsl:template>

 ..ce qui fonctionne bien certes mais c est plutôt du test de chaîne de
 caractère qui retourne un booléen plutôt qu un test de booléen tout
court...
 mais a priori je ne pense pas que cela soit possible... d où ma question ;)


> ----- Original Message -----
> From: "Eric van der Vlist" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, June 07, 2006 4:18 PM
> Subject: [xml-tech] Re: les booléens
>
>
> > Bonjour,
> > Le mercredi 07 juin 2006 à 16:07 +0000, Tiscar Sebastien a écrit :
> > > Bonjour,
> > > je souhaiterais savoir comment fonctionnent les booléens en XSL.
> > > - Existent ils d'abord?
> >
> > Oui (plus exactement en XPath).
> >
> > > et si oui
> > > - Comment stocker une valeur booléene?
> > > - Comment tester une valuer en XML ou dans un XSL?
> >
> > cf http://xmlfr.org/w3c/TR/xpath/#booleans
> >
> > Cordialement,
> >
> > Eric van der Vlist
> >
> > > Merci
> > >
> > --
> > GPG-PGP: 2A528005
> > Le premier annuaire des apiculteurs 100% XML!
> >                                                 http://apiculteurs.info/
> > ------------------------------------------------------------------------
> > Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
> > (ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
> > (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
> > ------------------------------------------------------------------------
> >
> >
> > -- Attached file included as plaintext by Ecartis --
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.2.2 (GNU/Linux)
> >
> > iD8DBQBEhvxbDvn+ZCpSgAURAiq9AJwOD8Ci9QiYX64lcOaSfT7EyvC1UACcCFIC
> > 591gRAL1Uz1k3fPr70QRUwI=
> > =VSwI
> > -----END PGP SIGNATURE-----
> >
> >
> > --
> > Devenez redacteur <XML>fr et contribuez au developpement du
> > xml francophone (http://xmlfr.org/infos/redacteurs/) !
> >
> > Liste de diffusion "[email protected]" (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 [email protected]
> > (mailto:[email protected]?Subject=unsubscribe)
> >
> >
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.