![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - simpleType vs. complexType [Thread Next] Re: simpleType vs. complexTypeTo: NULL Date: 9/3/2006 3:11:00 PM John Smith wrote: > What is the difference between <xs:simpleType> and <xs:complexType>? When to > use which? The XSD schema language distinguishes between simple types and complex types. Basically attributes always have simple types. And elements have simple types if they have no attributes at all and text content but no child elements. Otherwise (i.e. if they have attributes and/or child elements) elements have a complex type. <http://www.w3.org/TR/xmlschema-0/#DefnDeclars> <http://www.w3.org/TR/xmlschema-0/#CreatDt> -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
