Re: RE : Re: RE : Re: pbm: xsl:variable

Eric van der Vlist <[email protected]>
Newsgroups gmane.text.xml.french.tech
Organization Dyomedea (http://dyomedea.com)
Message-ID <[email protected]>
Bonjour,
Le lundi 10 avril 2006 à 14:19 +0200, MAGNA Pascal a écrit :
> Bonjour,
> 
> J'ai cette erreur "An attribute value must not contain '<'" car je
> veux tester si la valeur d'un attribut est inférieure à un certain
> seuil et à priori j'ai pas le droit.

Il suffit de remplacer "<" par "&lt;". 

> De plus, dans la simplification qui m'a été proposé je génère pas tout
> à fait la même chose que ce que je veux
> 
> <Code value="s1" xmlns:date="http://exslt.org/dates-and-times" />
> 
> Au lieu de 
> 
> <Code value="s1" />

Il faut rajouter un attribut exclude-result-prefixes="date" à l'élément
"xsl:stylesheet".

Cordialement,

Eric van der Vlist

> > 
-- 
GPG-PGP: 2A528005
Curious about Relax NG? Read my book online.
                                   http://books.xmlschemata.org/relaxng/
------------------------------------------------------------------------
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.1 (GNU/Linux)

iD8DBQBEOk5hDvn+ZCpSgAURApDOAJ9G1IHuaHkVkuqWb2iXAfMmGDlhrwCdEPFb
uQorm1DzEVHEhKZzj30RoEE=
=UP5o
-----END PGP SIGNATURE-----
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.