|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: RE: RE: XQuery and DTD/Schema?
On Sat, 6 Jul 2002, Dare Obasanjo wrote: > -----Original Message----- > From: John Cowan [mailto:jcowan@r...] > Sent: Sat 7/6/2002 11:11 AM > To: Jonathan Robie > Cc: Mike Champion; xml-dev@l... > Subject: Re: RE: RE: XQuery and DTD/Schema? > > >> features of RELAX-NG, such as co-occurrence constraints, that are not > >> supported in our data model. > > >Can you please explain what you meant by "co-occurrence constraints" > >in this context? > Probably the most requested feature for W3C XML Schema from our users > is the ability to specify occurence constraints for various attributes > and elements based on the value or occurence of other elements and > attributes. My oft quoted example is "How do I specify either there is a > server-available attribute set to false or the server-available > attribute is set to true AND there is a server-uptime element as a child > of the attribute's parent element" > This sounds like a job for the Schematron. I have been telling my XML classes that "XML provides 90% of the power of SGML with only 10% of the complexity." I hope I don't have to eat my words. -- J. David Eisenberg http://catcode.com/
|
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
|
|||||||||

Cart








