cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Benda" <>
Subject Java variable inside of document() function?
Date Thu, 16 Aug 2001 13:48:17 GMT
How can I use a Java variable in the document() funkction?

<xsl:for-each select="document([the Java variable])">

I have tried it with the help of

<xsl:variable name="src"><xsp:expr>[the Java
<xsl:for-each select="document([$src])">

but this doesn't work. <xsp:expr/> won't be processed and so the value of
$name is
the String "src". When I use <xsp:expr>src</xsp:expr> outside of
<xsl:variable/> it
works fine.

How can I solve this problem? Is there any workaround?


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