You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Vorbau, Alex" <al...@hp.com> on 2001/03/16 20:40:44 UTC
RE: xsp in stylesheet isn't being exectued - SUCCESS
I was finally able to get my XSP to execute properly. By setting the header
of the .xml file to this it worked fine:
<?xml version="1.0"?>
<?cocoon-process type="xsp" ?>
<!-- <?cocoon-process type="xslt" ?> -->
<?xml-logicsheet href="xsptest.xsl" type="text/xsl"?>
Notice that I removed the xslt processing. If anyone would like to comment
on why this worked, I'd be grateful.
thank much,
Alex
-----Original Message-----
From: Tagunov Anthony [mailto:atagunov@nnt.ru]
Sent: Friday, March 16, 2001 7:41 AM
To: cocoon-users@xml.apache.org
Subject: Re: xsp in stylesheet isn't being exectued
To catch up with my last e-mail:
>Hello,
>
>I'm trying to include a small bit of java XSP code in my stylesheet..
stylesheets get applied by the xslt processor _after_ the xsp processor
has generated the xml
xslt pre-xsp processing are called stylesheets (approx= taglibs) and
are run by the XSPProcessor before the xsp is compiled to java.
Therefore use <?xml-logicsheet, not <?xml-stylesheet
you may use xslt processor, but later on after the xsp, to apply style
---------------------------------------------------------------------
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>
---------------------------------------------------------------------
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: xsp in stylesheet isn't being exectued - SUCCESS
Posted by Donald Ball <ba...@webslingerZ.com>.
On Fri, 16 Mar 2001, Vorbau, Alex wrote:
> I was finally able to get my XSP to execute properly. By setting the header
> of the .xml file to this it worked fine:
>
> <?xml version="1.0"?>
> <?cocoon-process type="xsp" ?>
> <!-- <?cocoon-process type="xslt" ?> -->
> <?xml-logicsheet href="xsptest.xsl" type="text/xsl"?>
>
> Notice that I removed the xslt processing. If anyone would like to comment
> on why this worked, I'd be grateful.
>
> thank much,
>
> Alex
>
> -----Original Message-----
> From: Tagunov Anthony [mailto:atagunov@nnt.ru]
> Sent: Friday, March 16, 2001 7:41 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: xsp in stylesheet isn't being exectued
>
>
> To catch up with my last e-mail:
>
> >Hello,
> >
> >I'm trying to include a small bit of java XSP code in my stylesheet..
>
> stylesheets get applied by the xslt processor _after_ the xsp processor
> has generated the xml
>
> xslt pre-xsp processing are called stylesheets (approx= taglibs) and
> are run by the XSPProcessor before the xsp is compiled to java.
>
> Therefore use <?xml-logicsheet, not <?xml-stylesheet
>
> you may use xslt processor, but later on after the xsp, to apply style
>
>
>
> ---------------------------------------------------------------------
> 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>
>
> ---------------------------------------------------------------------
> 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>
>
>
---------------------------------------------------------------------
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: xsp in stylesheet isn't being exectued - SUCCESS
Posted by Tagunov Anthony <at...@nnt.ru>.
<applogy>Sorry, it looks my e-mails get to the list with a significant delay, around 30 minutes,
so you may have already asked more questions after you get my answeres to prevous
ones</applogy>
On Fri, 16 Mar 2001 11:40:44 -0800, Vorbau, Alex wrote:
>I was finally able to get my XSP to execute properly. By setting the header
>of the .xml file to this it worked fine:
>
><?xml version="1.0"?>
><?cocoon-process type="xsp" ?>
><!-- <?cocoon-process type="xslt" ?> -->
><?xml-logicsheet href="xsptest.xsl" type="text/xsl"?>
>
>Notice that I removed the xslt processing. If anyone would like to comment
>on why this worked, I'd be grateful.
Gladly! Application of logicsheets happens in xsp processor.
>thank much,
>
>Alex
>
Best regards,
Tagunov Anthony
---------------------------------------------------------------------
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>