You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Nadine Carlton <na...@hp.com> on 2001/02/26 19:05:45 UTC

logicsheet install problem

Hi,

  I'm trying to create my first logicsheet with Cocoon 1.8.2 and Tomcat 3.2.1
and I'm not getting XSP to recognize the logicsheet.  It is creating an
element instead.  Can someone see what I'm not doing or not doing correctly?

I have added the namespace to the stylesheet:

<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:xsp="http://www.apache.org/1999/XSP/Core" 
xmlns:mytag="http://www.hp.com/mytagdir/core">

I have added this to the xsp:page element in the XML page:
<xsp:page
    xmlns:request="http://www.apache.org/1999/XSP/Request"
  xmlns:util="http://www.apache.org/1999/XSP/Util"
  xmlns:esql="http://apache.org/cocoon/SQL/v2"
  xmlns:mytag="http://www.hp.com/mytagdir/core"
  xmlns:xsp="http://www.apache.org/1999/XSP/Core">

I created a jar file with the stylesheet and put it in my
tomcat lib directory and it is in the tomcat CLASSPATH.

I have a request in the XML page:
<mytag:mytemplate>
This is generating a <mytag:mytemplate> element in the
output instead of including the logicsheet.

XSP is recognizing the tag, since I don't get a error unless
I misspell the call like <mytg:mytemplate>, but I can't figure
out how to debug this.

Anybody see what I'm doing wrong?

Nadine Carlton
HP

Re: logicsheet install problem

Posted by Donald Ball <ba...@webslingerZ.com>.
On Mon, 26 Feb 2001, Nadine Carlton wrote:

>   I'm trying to create my first logicsheet with Cocoon 1.8.2 and Tomcat 3.2.1
> and I'm not getting XSP to recognize the logicsheet.  It is creating an
> element instead.  Can someone see what I'm not doing or not doing correctly?
>
> I have added the namespace to the stylesheet:
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> xmlns:mytag="http://www.hp.com/mytagdir/core">
>
> I have added this to the xsp:page element in the XML page:
> <xsp:page
>     xmlns:request="http://www.apache.org/1999/XSP/Request"
>   xmlns:util="http://www.apache.org/1999/XSP/Util"
>   xmlns:esql="http://apache.org/cocoon/SQL/v2"
>   xmlns:mytag="http://www.hp.com/mytagdir/core"
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core">

you need to edit your cocoon.properties and declare the mytag namespace
prefix to be one of the xsp magic namespace prefixes.

- donald