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


[Rick Jelliffe]

From: "Mike Plusch" <mplusch@c...>

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

Score one for Rick!

Cheers,

Tom P


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