Well, not quite. I mean getting the file on TRANSLATION (compilation) time! So that I can obtain it by XSLT, like this:
<xsl:param name="test"/>
<xsl:template match="test">
<xsl:copy>
<xsl:value-of select="$test"/>
</xsl:copy>
</xsl:template>and the solution described there is at execution time (XSP, not XSL).
Regards, Marcin Okraszewski
Hi Marcin,
From your question, I think that Oliver was on the right track with his suggestion that you look in the archives. Maybe these links will help you?
I have used this technique: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105483065103410&w=2
I believe there is also a "util" logicsheet to do this (but I have never used it myself):
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106806037121755&w=2
Regards, Mark
On 6 Feb 2004, at 21:16, Marcin Okraszewski wrote:
I'm afraid you misunderstand me. I mean to pass parameter to logicsheet while translating xsp to java!
I tried with:
<map:generate type="serverpages" src="test.xsp"> <map:parameter name="test" value="this is test"/> </map:generate> <map:serialize type="xml"/>
But it didn't work :-(
Regards, Marcin Okraszewski
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
