Chris Finn <[EMAIL PROTECTED]> writes:
> --- Nicolai P Guba <[EMAIL PROTECTED]> wrote:
> > "Torsten Curdt" <[EMAIL PROTECTED]> writes:
> >
> > > > I still don't know why this doesn't work then.
> > I didn't suspect the
> > > > PI's in the file being the problem but removed
> > them nevertheless.
> > Tried that but cannot get mine to work. I reckon
> > it's a problem with
> > the sitemap because it doesn't look like it's
> > recognising/processing
> > the XSP namespace.
>
> Several problems I see. First, you have the wrong
> namespace defined for XSP for Cocoon2:
>
> Instead of:
> xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>
> use:
> xmlns:xsp="http://apache.org/xsp"
>
> Second, the xslt processing instructions are no longer
> recognized in the XSP--so make sure they're in the
> sitemap.
>
> Remove these from your XSP:
> <?cocoon-process type="xslt"?>
> <?xml-stylesheet type="text/xsl" href="greeting.xsl"?>
>
> The sitemap looks okay, so I'm thinking it's just a
> problem with your XSP definition. Since you're
> getting the tags from the XSL, you should know that
> the pipeline is working okay for the transformation
> step.
I removed the instructions as someone suggested earlier on. I'll give
the namespace a go and recommend that the cocoon2 examples should be
updated. Having wrong examples can be very frustrating for people
evaluating a product like this for a production environment ;)
I'll give this a whirl and post my results.
Cheers!
--
Nicolai P Guba http://www.gnu.org http://www.frontwire.com
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
GSM: +44 (0)7909 960 751 DDI: +44 (0)20 7368 9708
---------------------------------------------------------------------
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]>