Michael Wyraz wrote:
>
> Hi!
>
> I'm new on cocoon2 and i'm working a lot with cocoon1.
> Is there a possibility to replace cocoon1 simlpy with cocoon2?
> That means:
> * setting up the webserver to map every request to an xml-file to the cocoon2
> servlet (ok. that's easy ;-)
> * make the old xslt processing-instruction working
> * make cocoon2 working without a "webapp"
>
> So how can i configure cocoon2 simply to take an xml-file, read and execute
> it's processing instructions and output the data throug the specified
> serializer? When I tried that, I got always the error "the document contains
> no data" :-(
>
> Who can help me?
That is not how Cocoon 2 works. You MUST create a sitemap to control how
your resources move from the source to the destination. Processing Instructions
are ignored. Now, if someone wants to create a utility to create a sitemap from
Cocoon 1 resources by trolling through the processing instructions--please post
it back to the list. It would be invaluable for Cocoon 1 to Cocoon 2 migrations!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]