Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - >Thread Next - Re: XML schema with recursive SimpleType XML schema with recursive SimpleTypeTo: <xmlschema-dev@--.---> Date: 5/29/2009 5:07:00 PM Hello All, I am trying to create a XML Schema which contains an element called as "Pre-Condition" which defines a logical expression. For this I need to define a type "LogicalExpressionType". This type will look something like, <xs:LogicalExpressionType> <union memberTypes="InfixExpressionType PrefixExpressionType"/> </ xs:LogicalExpressionType> <xs: InfixExpressionType> A sequence of "LogicalExpressionType" "+|-|/|.." "LogicalExpressionType" <xs: InfixExpressionType> Is there a way of defining such type, so as to ensure a valid pre-condition value is specified in an XML. This is recursive simpleType, is it allowed? Is there a better way of doing it? -Sucheta. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
