Hi

I did the same thing an I put the logicsheet under
WEB-INF/classes/ch/arpage/logicTest.xsl

Then you have to tell cocoon, where to find the logicsheet

Open cocoon.xconf:
<markup-languages>
   <xsp-language name="xsp">
      ...
      <builtin-logicsheet>
         <parameter name="prefix" value="logicTest"/>
         <parameter name="uri" value="http://arpage.ch/logicTest"/>
         <parameter name="href" value="resource://ch/arpage/logicTest.xsl"/>
      </builtin-logicsheet>

If you want an example for a working logicsheet check esql.xsl in
cocoon-2.0.jar

No you can access your logicsheet with <logicTest:xxxx> Dont forget to set
the namespace at the top of the document:
xmlns:logicTest="http://arpage.ch/logicTest";

Patrick

> Hi All,
>
> I am wanting to refer to a logicsheet using the resource:// scheme.
>
> I have placed my logic sheet in WEB-INF/classes/logicSheet/logicTest.xsl
>
> then I refer to it with:
>
>       resource://logicSheet/logicText.xsl
>
> but I get resource not found.
>
> Am I on the right path, or have I missed something fundamental here?
>
> Thanks for your time,
>
> Phil


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to