OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] schematron

[ Lists Home | Date Index | Thread Index ]

>Can anybody help me on how schematron can work
>with XML schema for handling the constraints? 

Think of schematron another form of schemas that handles the constraints
that other schemas can't. The most popular model is a pipeline: you validate
your document against your schema, and then use a schematron schema to check
the things that the schema couldn't. I wrote something about this at
http://www.xml.com/pub/a/2002/05/15/schematron.html, where I was described
the use of schematron to do things that DTDs couldn't, but it would work the
same with other schema languages. 

Actually, it can work even easier with other schema languages, because there
are ways to combine schematron rules with schemas written languages like
RELAX-NG, such as Lars Marius Garshol's MSV Schematron add-on
(http://www.garshol.priv.no/download/xmltools/prod/MSV-Schematron.html).

Bob DuCharme          www.snee.com/bob           <bob@  
snee.com>  "The elements be kind to thee, and make thy
spirits all of comfort!" Anthony and Cleopatra, III ii




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS