cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@iname.com>
Subject Re: Dynamic Schematron validation works!
Date Sat, 16 Mar 2002 18:37:35 GMT

Thank you Jeremy !

One more step ahead.

Let's get a nice wizard complete now!


----- Original Message -----
From: "Jeremy Quinn" <jermq@media.demon.co.uk>
To: "Cocoon Dev" <cocoon-dev@xml.apache.org>
Sent: Friday, March 15, 2002 11:26 AM
Subject: Dynamic Schematron validation works!


> Dear All,
>
> Encouraged by Ivelin Ivanov's work, I tried to see if the XSLT generated
by
> Schematron could be dynamically generated.
>
> It can!
>
> Here were my test pipelines (using all Ivelin's files):
>
>
> Using a pre-made validating XSLT:
>
> <map:match pattern="static-validation">
> <map:generate src="schematron/some-xmlform.xml"/>
> <map:transform src="schematron/xmlform-sch-report.xsl"/>
> <map:serialize type="xml"/>
> </map:match>
>
> Using a validating XSLT, generated by another pipeline:
>
> <map:match pattern="dynamic-validation">
> <map:generate src="schematron/some-xmlform.xml"/>
> <map:transform src="cocoon:/make-validator"/>
> <map:serialize type="xml"/>
> </map:match>
>
> A pipeline for generating validating XSLT:
>
> <map:match pattern="make-validator">
> <map:generate src="schematron/xmlform-sch-report.xml"/>
> <map:transform src="schematron/xmlform-schematron.xsl"/>
> <map:serialize type="xml"/>
> </map:match>
>
>
> Apart from having to comment out a reference to <saxon:output/> in
> 'wrappers.xsl' it all worked fine.
>
> I viewed this with MSIE 5, the xml was the same as the samples.
>
>
> Cool!
>
>
> regards Jeremy
> --
>    ___________________________________________________________________
>
>    Jeremy Quinn                                           Karma Divers
>                                                        webSpace Design
>                                             HyperMedia Research Centre
>
>    <mailto:sharkbait@mac.com>     <http://www.media.demon.co.uk>
>    <phone:+44.[0].20.7737.6831>             <pager:jermq@vizzavi.net>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message