[xsl] Generating jsp java code in .xsl files

Subject: [xsl] Generating jsp java code in .xsl files
From: Apostolidis Apostolos <apostol@xxxxxxxxxx>
Date: 19 Nov 2004 13:20:14 +0200
   Hi all! I am trying to generate java code (intended for a jsp page)
inside a .xsl file. I want to produce an output similar to :

<% String foo = "a_value"; %>. How can I achieve this?? The result I am
getting is either a print of the aforementioned code in the html output
of the jsp page or a null value in the html code.

I have tried it like this (mainly) :

<xsl:text disable-output-escaping="yes">
	&lt;% String foo = "a_value"; %&gt;
</xsl:text>

Any ideas??

Current Thread