Thanks Florent Georges It helps a lot as we can extract the schematron and compile and use it.
I am looking for any out of the box solution which can do it without extracting the schematron from schema. I understand schema and schematron are 2 different concepts but as we are now having schematron embedded in Schema and trying to understand how best we can validate this. Also I am looking at what if schema (with schematron) is importing other schemas (with schematron). Schema validation will work without issues as they are referring to other schemas but schematron I am not sure how it works. Regards, Gnana(GP) -----Original Message----- From: fgeor...@gmail.com [mailto:fgeor...@gmail.com] On Behalf Of Florent Georges Sent: 11 May 2016 10:15 To: MarkLogic Developer Discussion; Bodireddy, Gnanaprakash (Cognizant) Subject: Re: [MarkLogic Dev General] Regarding compilation of schema for validation On 10 May 2016 at 21:46, ? wrote: Hi, > If a schema is having a schematron with in it. Is there any way we can > validate both schema and schematron rules against an XML document? Have you seen my response yesterday? Have you tried it? It should fulfill exactly that need. Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored. _______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general