Hi everybody, I'm quite new in cocoon and I really hope someone could answer my problem. I've created an XSP logicsheet file and tried to run it but it always displaying the same error which is : java.lang.RuntimeException: Error loading logicsheet at resource://mylogicsheet.xsl due to java.lang.Exception: Resource not found or retrieving error. I tried this one by looking at the example in McLaughlin's book Java and XML. The exact chapter is Web Publishing Frameworks and I did my own XSP file, jar it and put it under Tomcat's lib. These are the codes for mylogicsheet.xsl <?xml version="1.0"?> <!-- written by Muhamad Nazir Samsudin "[EMAIL PROTECTED]" --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsp="http://www.apache.org/1999/XSP/Core" version="1.0" > <xsl:template match="page"> <xsl:copy> <xsl:apply-templates select="@*" /> <xsl:apply-templates /> </xsl:copy> </xsl:template> <xsl:template match="hello-world"> <xsp:logic> String msg = "Hello, World!!!"; </xsp:logic> <greeting> <xsp:expr>msg</xsp:expr> </greeting> </xsl:template> <xsl:template match="@*|node()" priority="-1"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template> </xsl:stylesheet> and These are my XML codes : <?xml version="1.0"?> <?cocoon-process type="xsp"?> <?xml-logicsheet href="mytest4.logicsheet"?> <?cocoon-process type="xslt"?> <?xml-stylesheet type="text/xsl" href="mytest4.xsl"?> <?cocoon-process type="dcp"?> <xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core" xmlns:mylogicsheet="http://www.nazir.com/" > <page> <mylogicsheet:hello-world/> </page> </xsp:page> and finally my XSL stylesheet: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <h1> <blink><xsl:value-of select="//greeting" /></blink> </h1> </body> </html> </xsl:template> </xsl:stylesheet> I hope somebody can help me. TQ ~ Nazir ~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]