Hello Slav,
> well, can i wish support of dynamic XSLT generation in addition?
I use Schematron with Cocoon by setting-up the following map:match that
generates the compiled Schematron schema:
<!-- Compiles the matching Schematron Schema into XSLT. -->
<map:match pattern="test/validators/*.xsl">
<map:generate type="file" src="test/schema/{1}.sch"/>
<map:transform type="xslt" src="test/transforms/iso_dsdl_include.xsl"/>
<map:transform type="xslt" src="test/transforms/iso_abstract_expand.xsl"/>
<map:transform type="xslt2" src="test/transforms/iso_svrl-x.xsl"/>
<map:serialize type="xml"/>
</map:match>
Then I add the following transform to the pipeline that carries-out the
validation:
<map:transform type="xslt" src="cocoon:/test/validators/{1}.xsl"/>
The input to the pipeline will be the document you wish to test, the wildcard
in the transformer src is the name of the schema you wish to use. The schema
name could also be passed in via a request parameter and set using
{request-param:schema}.
Regards
Philip Fennell
>XSLT Developer (Content Management Culture)
>
>BBC Future Media & Technology
>Media Village, 201 Wood Lane London W12 7TP
>BC4 C4, Broadcast Centre
>
>T: 0208 0085318
>
-----Original Message-----
From: Vyacheslav Sedov [mailto:[EMAIL PROTECTED]
Sent: 18 August 2008 07:41
To: [email protected]
Subject: Re: [cocoon3] Nested pipelines
well, can i wish support of dynamic XSLT generation in addition?
stage1 - xml1 -> xslt1 -> xslt2
stage2 - xml2 -> xslt2 -> result-xml
as simplest example - Schematron rules
with best wishes,
Slav
On Fri, Aug 15, 2008 at 6:04 PM, Reinhard Pötz <[EMAIL PROTECTED]> wrote:
> Carlos Tejo Alonso wrote:
>> Hello,
>>
>> I would like to do that:
>>
>> input_1 -> transformation_2 -> output_1
>> input_2 -> transformation_2 -> output_2
>>
>> output_1 + ouput_2 -> transformation -> output_1+2
>>
>> What's the way to connect 2 pipelines in corona-pipeline?
>
> Currently nested pipelines are not supported directly but it's on my
> wishlist ;-)
>
> For now you could write an InputStreamGenerator (should be very
> similar to the StringGenerator) and take the output of the first
> pipeline as input for the second. That's not optimal solution in terms
> of performance but simple to implement.
>
> HTH
>
> --
> Reinhard Pötz Managing Director, {Indoqa} GmbH
>
> http://www.indoqa.com/en/people/reinhard.poetz/
>
> Member of the Apache Software Foundation
> Apache Cocoon Committer, PMC member [EMAIL PROTECTED]
> ______________________________________________________________________
> __
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]