cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thorsten.som...@realtech.de
Subject Javascript function escape() usage in a xsl file to encode href l ink
Date Tue, 05 Jun 2001 11:53:52 GMT
Hi,
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()')
=======

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


Thorsten



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message