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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to