Finally I've found the problem in one of my own stylesheets. The protocol
"cocoon:/" inside the "src" attribute of the <map:transform> elements works
well on cocoon-2.1-dev

Oskar

----- Original Message -----
From: "Omar Tazi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 6:38 PM
Subject: Re: pipeline problem


> If you are interested in XML Pipelines and XML transformation, check
> out: http://www.orbeon.com/oxf/whitepaper.xhtml
>
> Regards,
>
> -ot
>
> Jeremy Quinn wrote:
> >
> > Have a look at the 'editor' sample in Cocoon 2.1.dev, it does exactly
this.
> >
> > regards Jeremy
> >
> > On Thursday, Oct 24, 2002, at 20:27 Europe/London, Oskar Casquero wrote:
> >
> >> Hello,
> >>
> >> Is it possible to call a pipeline, that returns SAX events
> >> representing an stylesheet, from the "src" attribute of a
> >> <map:transform> element? I'm trying to do it in the following pipeline
> >> but it doesn't work.
> >>
> >> <map:match pattern="schematronValidationResponse">
> >>
> >>     <map:generate type="stream">
> >>
> >>         <map:parameter name="form-name" value="document"/>
> >>
> >>     </map:generate>
> >>
> >>     <map:transform src="cocoon:/schematron2compiledSchematron"/>
> >>
> >>     <map:serialize type="xml"/>
> >>
> >> </map:match>
> >>
> >>
> >>
> >> <map:match pattern="schematron2compiledSchematron">
> >>
> >>     <map:generate src="schemas/berta.xsd"/>
> >>
> >>     <map:transform src="stylesheets/schematron.xsl"/>
> >>
> >>     <map:transform src="stylesheets/skeleton1-5.xsl"/>
> >>
> >> </map:match>
> >>
> >> Oskar
> >>
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question  has not already been answered in the
> > FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to