>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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format