Re: [xml-dev] Can XML Schemas do this?

From
John Cowan <>
To
Date
2003-01-20T17:41:23Z
ID
<>
Thread
Re: [xml-dev] Can XML Schemas do this?
Mike Plusch scripsit:

> There is always an XML 1.0 representation for
> ConciseXML.  Here is Water Type and Water
> Contract in XML 1.0:
> 
> <defclass>
>   <field key="person"/>
>   <field key="name"> required string </field>
>   <field key="age"> optional integer </field>
>   <field key="birth"> optional datetime </field>
>   <field key="_precond">
>     <defmethod> <not age.<is optional/>.
>                              <and birth.<is optional/> />
>     </defmethod>
>   </field>
> </defclass>

Rubbish.

Everything between "<defmethod>" and "</defmethod>" is not XML.

-- 
One art / There is                      John Cowan <>
No less / No more                       http://www.reutershealth.com
All things / To do                      http://www.ccil.org/~cowan
With sparks / Galore                     -- Douglas Hofstadter