cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "n." <>
Subject running xsp from cocoon
Date Tue, 17 May 2005 07:33:37 GMT
I am trying to run the following sample from the cocoon tutorial but
it doesnt seem to be working:

<?xml version="1.0"?>

<xsp:page xmlns:xsp="">

                //this could be arbitrarily complex Java code, JDBC
queries, etc.
                String msg = "Hello, World!";



<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="" version="1.0">

<xsl:template match="/">
                                <xsl:value-of select="greeting"/>


I am using cocoon 2.1.7 on tomcat 5.8 as a servlet. I created my own
sample directory in the "samples" directory. My sitemap.xmap file
looks like this:
<?xml version="1.0"?>

<!-- CVS $Id: sitemap.xmap 30938 2004-07-29 19:08:16Z vgritsenko $ -->

<map:sitemap xmlns:map="">


      <map:match pattern="greeting">
       <map:generate src="greeting.xml"/>
       <map:transform src="greeting.xsl"/>

      <map:match pattern="request.xml">
       <map:generate src="request.xml"/>




When I run this, I can only see the 'hi' but not the xsl variable.
anyone has any ideas what I might be doing wrong?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message