Jeremy, I don't want to spoil your enthusiasm but there still two major issues... I've been talking with Ivelin off the list about these issues. (Maybe we should move our discussion to the list?!)
1) current binding prohibits the use of checkboxes (good old checkbox problem *sigh*) You cannot turn the checkbox off via request. 2) AFAIU validation happens inside the XSLT transformer. IMHO this should happen inside an action. Otherwise we have to choose what page to show from the XML *content*. Only way I see do this is to create another transformer for this. But still you are not able to react on the validation result inside the sitemap... Or am I missing here something? (Could a transformer set a request attribute that can become available in the sitemap?) Currently I am trying to merge Ivelin work what I'm am currently working on. I hope I can present this in a few days to the list... -- Torsten > 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! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]