Re: Remember to RELAX (was RE: Are there still a lot of peopleusingDTD)
Bob Kline wrote: > > On Wed, 2 Aug 2000, Rick JELLIFFE wrote: > > > RELAX (and DCD) provide something much better: they allow > > co-occurence constraints. I think these are limited to just element > > names and attributes along the ancestor axis, so that > > stream-processing can be done. Schematron allows constraints from > > any axis, including poking around other documents. Dave Ragget's > > Assertion Grammars started the idea AFAIK. Oops, wrong term, right idea. Not "co-occurrence constraint" (i.e., if you have x attribute you must have y) but "attributes can help determine the type of an element". I apologise for this. So slack. For capturing many kinds of arbitrary constraints before modeling them, my schema language schematron is quite useful. http://www.ascc.net/xml/resource/schematron/schematron.html You can make assertions about the structure in a fairly rapid, incremental way. Then when you move to a schema language with datatyping (XMl Schemas, RELAX, etc) you can tick off or delete each assertion in the Schematron schema. Rick Jelliffe
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