If you have ever come across generating XSD’s then you will soon find out that it’s a new ball game. So in order to help you along I have generated this reference point of items that I have found useful.
XML Schema data types. The most common types are:
- xs:string
- xs:decimal
- xs:integer
- xs:boolean
- xs:date
- xs:time
Optional and Required Attributes
Attributes are optional by default. To specify that the attribute is required, use the “use” attribute:
<xs:attribute name=”lang” type=”xs:string” use=”required”/> |