Asitmohan Nautiyal <asitmoha...@hcl.com> writes:
> If you make direct changes inside the xsd file, it will not work. No
> need to place your change directly inside the xsd file. Place your
> changes inside the xml schematron file and then compile it in query
> console using sch:compile-schema() function of schematron.xqy file. It
> will generate a compiled xsd file and then use this file against the
> xml file, which you want to validate.

I expect that sch:compile-schema() could be augmented to extract
schematron rules from an XSD if that was considered a useful feature.
(And assuming sch:compile-schema is this from here
https://github.com/ndw/ML-Schematron)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to