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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: RE: RE: [xml-dev] XQuery and DTD/Schema?

[ Lists Home | Date Index | Thread Index ]

J. David Eisenberg scripsit:

> This sounds like a job for the Schematron.

Undoubtedly, since Schematron is all about constraints.  But
RELAX NG can do it too:

uptime = attribute server-available "false" |
	(attribute server-available "true"
		& element server-uptime xsd:integer)

> 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.

Well, perhaps say that XML+Namespaces+RNG has only 15-20% of the complexity.

There is / One art                      John Cowan <jcowan@reutershealth.com>
No more / No less                       http://www.reutershealth.com
To do / All things                      http://www.ccil.org/~cowan
With art- / Lessness                     -- Piet Hein


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

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