🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #8595

Lien avec parametres dans un XSL

#8595
From: Eric de Jandin
Date: Mon, 03 Sep 2001 10:24
26 lines
1974 bytes
Bonjour,

je chercher tout simplement (!) a �crire un HREF dans mon fichier XSL avec
quelques param�tres, 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.

comme si le caract�re '&' palc� devant le param�tre 'place' indiquait que
c'est une variable (reference ?).
Les deux fichiers XML et XSL commencent par <?xml version="1.0"
encoding="ISO-8859-1"?>, donc je ne crois pas que ce soit un probl�me de
codage de caract�re.
Je ne trouve rien � ce sujet dans la documentation xml,xsl,jaxp,xlt,xpath
...

Dois-je utiliser un caract�re d'�chappement ?
Dois-je changer de type d'encoding ?
Est ce qu'il y a une astuce ?

Merci d'avance,
Eric.
Technical Details
Message-ID: <bTIk7.2076$3Q6.2714690@nnrp5.proxad.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.149.160.21!isdnet!grolier!proxad.net!feeder2-1.proxad.net!nnrp5.proxad.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,654971633b0eda19,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-09-03 03:24:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.149.160.21!isdnet!grolier!proxad.net!feeder2-1.proxad.net!nnrp5.proxad.net.POSTED!not-for-mail
From: "Eric de Jandin" <edejandin@victoire.fr>
Newsgroups: fr.comp.text.xml
Subject: Lien avec parametres dans un XSL
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <bTIk7.2076$3Q6.2714690@nnrp5.proxad.net>
Date: Mon, 03 Sep 2001 10:24:07 GMT
NNTP-Posting-Host: 212.155.77.5
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp5.proxad.net 999512647 212.155.77.5 (Mon, 03 Sep 2001 12:24:07 CEST)
NNTP-Posting-Date: Mon, 03 Sep 2001 12:24:07 CEST
Organization: Guest of ProXad - France