What is the error message?
Your xsp-file must have the ending with *.xsp not *.xml
How do your sitemap look like?

Regards

c-o

On Fri, 09 Jul 2004 17:48:04 +0200, Andrea Massimiliani <[EMAIL PROTECTED]> wrote:

Hi,

I've deployed cocoon 2.1.5.

I've copyed from site http://cocoon.apache.org/2.0/userdocs/xsp/logicsheet.html
the example:


greeting.xsl

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">


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

</xsl:stylesheet>
_____________________________________________________________________________


greeting2.xml

<?xml version="1.0"?>

<xsp:page xmlns:xsp="http://apache.org/xsp";>

  <xsp:logic>
    // this could be arbitrarily complex Java code, JDBC queries, etc.
    String msg = "Hello, world!";
  </xsp:logic>

  <greeting>
    <xsp:expr>msg</xsp:expr>
  </greeting>

</xsp:page>

But don't work!

Who can help me?


Ricerche online pi� semplici e veloci con MSN Toolbar ! ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]



-- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to