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

From
Rick Jelliffe <>
To
xml-dev <>
Date
2003-01-21T01:08:47Z
ID
<00a201c2c0e9$a6aec620$>
Thread
Re: [xml-dev] Can XML Schemas do this?
From: "Mike Plusch" <>

> Equivalent in ConciseXML:
> <defclass person
>    name=required=string
>    age=optional=integer
>    birth=optional=datetime
>    _precond=<defmethod> <not age.<is optional/>.
>                              <and birth.<is optional/> />
>             </defmethod>
> </defclass>

Isn't the equivalent in XML as follows?

<?water 
    <defclass person
       name=required=string
       age=optional=integer
       birth=optional=datetime
       _precond=<defmethod> <not age.<is optional/>.
                             <and birth.<is optional/> />
            </defmethod>
    </defclass>
?>


Cheers
Rick Jelliffe