cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Re: Problem in passing http request parameters
Date Fri, 19 Dec 2003 17:00:01 GMT
With a variable you can write :

<option value="new.xls?dis={$var1}"> instead of  <option 
value="new.xls?dis=$var1">

But if you need to pass a node the other method (<xsl:value-of) is the one.

Lionel

At 08:27 19/12/2003 +0100, you wrote:
>Ashish Kumar wrote:
>>>>2) I have to pass second parameter from a simple query, where I m using
>>>>the line:
>>>>
>>>><xsl:attribute name="HREF">&c_code=<xsl:value-of
>
>Please remember that "&" starts an entity in XML. Exactly for this
>reason there is an entity representing "&": "&amp;"
>
>Hence the above code will complain about an error in the naming of
>an entity since it considers &c_code (missing ";") as such. Replace with
>&amp;c_code= and all'll be fine.
>
>         Chris.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message