Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XML Schema Q: Element with either simpleContent or complexContent XML Schema Q: Element with either simpleContent or complexContentTo: NULL Date: 7/30/2004 4:49:00 PM How can I create an xml schema where both of the following documents
are valid?
<theElement>
<child>some text</child>
</theElement>
and
<theElement>1234</theElement>
Basically, <theElement> should either contain a single element <child>
of a specified type or an integer.
Thanks,
David
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
