Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XML Schema question: attribute xor content XML Schema question: attribute xor contentTo: NULL Date: 8/12/2009 11:12:00 AM Hi all: I have a simple (I hope) question about XML Schema. The problem is that I want to declare an element that has either an attribute or some content, but not both, e.g.: <myelement value="stuff"/> xor, <myelement>stuff</myelement> Is there a way to this with XML Schema? Thanks in advance! --- Jun Yang | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
