Article View: fr.comp.text.xml
Article #8596Re: Lien avec parametres dans un XSL
From: Thomas Broyer
Date: Mon, 03 Sep 2001 10:33
Date: Mon, 03 Sep 2001 10:33
25 lines
1999 bytes
1999 bytes
In <bTIk7.2076$3Q6.2714690@nnrp5.proxad.net>, Eric de Jandin wrote:
> je chercher tout simplement (!) a écrire un HREF dans mon fichier XSL avec
> quelques param�res, du style :
> <a href="maServlet?action=fv&place=paris&symbol=fte">go</a>
> a priori ça ne me semblait pas très compliqué mais j'obtiens le message
> d'erreur suivant lors de la fusion XML/XSL par jaxp :
>
> TransformerException :
> javax.xml.transform.TransformerConfigurationException: The reference to
> entity "place" must end with the ';' delimiter.
cf. http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2
> comme si le caractère '&' palcé devant le param�re 'place' indiquait que
> c'est une variable (reference ?).
Un appel d'entité ("entity reference" en anglais), comme dans tout document
HTML ou SGML.
> Je ne trouve rien à ce sujet dans la documentation xml,xsl,jaxp,xlt,xpath
XML indique que le caractère & commence un appel d'entité. Si on veut
obtenir le caractère & dans les données, il faut utiliser &
Tom.
Technical Details
Message-ID:
<1949281.Fx2qVVIhKE@ltgt.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!opentransit.net!proxad.net!feeder2-1.proxad.net!nnrp1.proxad.net.POSTED!not-for-mailReferences:
<bTIk7.2076$3Q6.2714690@nnrp5.proxad.net>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,UTF8 X-Google-Thread: 114f60,654971633b0eda19 X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-09-03 03:33:08 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!opentransit.net!proxad.net!feeder2-1.proxad.net!nnrp1.proxad.net.POSTED!not-for-mail Message-ID: <1949281.Fx2qVVIhKE@ltgt.net> From: Thomas Broyer <ptittom+news@free.fr> Subject: Re: Lien avec parametres dans un XSL Newsgroups: fr.comp.text.xml Mail-Copies-To: nobody References: <bTIk7.2076$3Q6.2714690@nnrp5.proxad.net> Lines: 25 Organization: </> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit Date: Mon, 03 Sep 2001 10:33:06 GMT NNTP-Posting-Host: 217.128.160.21 X-Complaints-To: abuse@proxad.net X-Trace: nnrp1.proxad.net 999513186 217.128.160.21 (Mon, 03 Sep 2001 12:33:06 CEST) NNTP-Posting-Date: Mon, 03 Sep 2001 12:33:06 CEST