You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by th...@realtech.de on 2001/06/05 13:53:52 UTC
Javascript function escape() usage in a xsl file to encode href l
ink
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"/>&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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>