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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

From: "Mike Plusch" <mplusch@clearmethods.com>

> 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




 

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

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