cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Javascript function escape() usage in a xsl file to encode href l ink
Date Tue, 05 Jun 2001 11:53:52 GMT
my problem (Cocoon1): I want to generate a html page which contains a href.
The href link should be variable and encoded by the javascript function
escape() (without using xsp!). I thought it would be very simple, but I
always get only the text (!) "encode(....)".

xsl-code: (the second parameter "source==<xsl:value-of select='src_param'/>"
should be encoded by 'escape()')

   <xsl:attribute name="href">index.xml?id=<xsl:value-of
select="id"/>&amp;source=<xsl:value-of select="src_param"/>


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message