Hahn Kurt (CHA) wrote: >Hi, >I have a fully functional Cocoon 2.02 installation, and I'm testing some >features that I didn't use so far. Right now, I'm working my way through the >XSP samples, but they don't work so far. For instance, this XSP (everything >is directly copied from the samples) > ><?xml version="1.0"?> > ><xsp:page xmlns:xsp="http://apache.org/xsp"> > > try insert <page> here
> <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> > > and </page> here ></xsp:page> > >, processed with this 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"/> > or <xsl:value-of select="."/> (if not inserting <page> tags) instead of <xsl:value-of select="greeting"/> Regards. Yury. > </h1> > </body> > </html> ></xsl:template> > ></xsl:stylesheet> > > >should result in an HTML-page showing "Hello, World", but I only get a blank >page. Does anybofy know how? > >Thanks > >--------------------------------------------------------------------- >Please check that your question has not already been answered in the >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > >To unsubscribe, e-mail: <[EMAIL PROTECTED]> >For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>