You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Falko Zurell <fa...@pixelpark.com> on 2002/03/25 10:06:05 UTC

how to tell Cocoon2 to read the xsl-file from the xml-file

Hi,

I try to configure an Cocoon2 the way the old Cocoon1 seems to work.

I have an XML-File with the tag:

<?xml-stylesheet type="text/xsl"
href="../xsl/docbook-xsl-1.49/html/docbook.xsl"?>

which should tell the Cocoon where to find the XSL-File

and an Tag

<?cocoon-process type="xslt"?>

to really start the Transformation.

But this doesn't seem to work with Cocoon2.

Has anyone an idea how to configure Cocoon2 to act like this?

thanks..

--
Falko Zurell




---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: how to tell Cocoon2 to read the xsl-file from the xml-file

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Falko Zurell [mailto:falko.zurell@pixelpark.com]
> 
> Hi,
> 
> I try to configure an Cocoon2 the way the old Cocoon1 seems to work.
> 
> I have an XML-File with the tag:
> 
> <?xml-stylesheet type="text/xsl"
> href="../xsl/docbook-xsl-1.49/html/docbook.xsl"?>
> 
> which should tell the Cocoon where to find the XSL-File
> 
> and an Tag
> 
> <?cocoon-process type="xslt"?>
> 
> to really start the Transformation.
> 
> But this doesn't seem to work with Cocoon2.
> 
> Has anyone an idea how to configure Cocoon2 to act like this?

It is not possible with Cocoon 2. All PIs are ignored.

Vadim

 
> thanks..
> 
> --
> Falko Zurell


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>