cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: XSP taglib question
Date Wed, 14 Jun 2000 05:06:26 GMT
Hi donald

I do that in my own pages and it works well. I see only minor
differences to my code.

Donald Ball wrote:
> 
> Here's the header from my taglib stylesheet:
> 
> <xsl:stylesheet
>   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>   xmlns:news="http://www.webslingerZ.com/XML/News"
>   xmlns:sql="http://www.apache.org/1999/SQL"
>   version="1.0"
> >

And this is mine, silly question: did you add your taglib in the
cocoon.properties (I know I shouldn't ask you :)?

<xsl:stylesheet version="1.0"
   xmlns:sql="http://www.apache.org/1999/SQL"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:pwr="http://www.pwr.ch/2000/XSP/PWR"
   xmlns:xsp="http://www.apache.org/1999/XSP/Core" 
> 

> and here's the header from a data file:
> 
> <?xml version="1.0"?>
> <?xml-stylesheet href="index.xsl" type="text/xsl"?>
> <?cocoon-process type="xsp"?>
> <?cocoon-process type="xslt"?>
> 
> <xsp:page
>         language="java"
>         xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>         xmlns:unclaw="http://www.webslingerZ.com/XML/News"
>         xmlns:sql="http://www.apache.org/1999/SQL"
> >

Here mine:

<?xml version="1.0"?>
<?cocoon-process type="xsp"?> 
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="page-html.xsl" type="text/xsl"?>

<xsp:page 
  xmlns:sql="http://www.apache.org/1999/SQL"
  xmlns:pwr="http://www.pwr.ch/2000/XSP/PWR"
  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>

> Am I doing something wrong or is this simply not possible in XSP itself?

I hope this helps you a bid.

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

Mime
View raw message