[Home] [By Thread] [By Date] [Recent Entries]


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@r...>
No more / No less                       http://www.reutershealth.com
To do / All things                      http://www.ccil.org/~cowan
With art- / Lessness                     -- Piet Hein

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member