cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Swearingen <davi...@yahoo.com>
Subject RE: resolving param in template
Date Wed, 14 Apr 2004 02:27:34 GMT
Yeah, it's weird: everyone keeps telling me that's the solution, but
the error I get when trying that is this:

"java.io.FileNotFoundException:
C:\jakarta-tomcat-4.1.30\webapps\cocoon\mount\my1\{$requestedfile} (The
system cannot find the file specified)"

So, it's ignoring the $ sign.  Could I have my param declaration in the
wrong place?  It's currently immediately under the xsl:stylesheet and
xsl:output statements.

Thanks,
David

--- Steve Schwarz <saschwarz@hotmail.com> wrote:
> David
> I think you want:
> ...
> <xsl:param name="requestedfile"/>
> ...
> <thebody>
> 	<cinclude:include src="{$requestedfile}"/>
> </thebody>
> ...
> 
> I highly recommend Michael Kay's "XSLT 2nd Edition"
> Hope this helps
> Steve
> 
> _________________________________________________________________
> Tax headache? MSN Money provides relief with tax tips, tools, IRS
> forms and 
> more! http://moneycentral.msn.com/tax/workshop/welcome.asp
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

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


Mime
View raw message