Posted by
ricetrac on
Jan 26, 2010; 2:38pm
URL: https://discuss.orbeon.com/problem-with-url-generator-and-character-tp1288184p1292039.html
Hello,
Thank you for your response.
After other test, I noticed that the problem was my url and not the url-generator, sorry.
Julien.
-----Message d'origine-----
De : Steve Bayliss [mailto:
[hidden email]]
Envoyé : mardi 26 janvier 2010 11:15
À :
[hidden email]
Objet : [ops-users] RE: problem with url generator and character &
Escaping the & should work fine, ie & - I've used this with the URL generator. What error are you getting?
-----Original Message-----
From: ricetrac [mailto:
[hidden email]]
Sent: 23 January 2010 13:36
To:
[hidden email]
Subject: [ops-users] problem with url generator and character &
Hello,
I would to generate a pdf document with the processor url generator.
I build the url with the xslt processor, but in this url I need to put
parameters separate by an "&" :
http://url.com/test?param1=toto¶m2=titiI can't use directly the character &, so I put '&' when I build my URL :
<p:processor name="oxf:xslt">
<p:input name="data" href="#instance"/>
<p:input name="config">
<config xsl:version="2.0">
<url>
http://url.com/test?param1=toto&param2=titi</url>
<content-type>application/pdf</content-type>
</config>
</p:input>
<p:output name="data" id="url-config"/>
</p:processor>
<p:processor name="oxf:url-generator">
<p:input name="config" href="#url-config"/>
<p:output name="data" id="editionpdf"/>
</p:processor>
I put this url in the url-generator but it doesn't work. Why ? because, I
think that the & character is not unescaped by the url-generator, so the
url doesn't work.
I use orbeon 3.5.1, tomcat 5.5.25 and jdk 1.6
Can You help me ?
Thank you, and sorry for my poor english. (I'm a french user).
--
View this message in context:
http://n4.nabble.com/problem-with-url-generator-and-character-tp1288184p1288184.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws