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]>

Reply via email to