Skip to content

Instantly share code, notes, and snippets.

@justonefixxxx
Created January 11, 2013 10:27
Show Gist options
  • Save justonefixxxx/4509594 to your computer and use it in GitHub Desktop.
Save justonefixxxx/4509594 to your computer and use it in GitHub Desktop.
2013-01-11
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="library" type="libraryType" />
<xs:complexType name="libraryType">
<xs:sequence>
<xs:element name="book" type="bookType" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="bookType">
<xs:sequence>
<xs:element name="author" type="xs:token" />
<xs:element name="title" type="xs:token" />
<xs:element name="description" type="xs:token" />
<xs:element name="release" type="xs:date" />
</xs:sequence>
<xs:attribute name="id" type="xs:positiveInteger" use="required" />
</xs:complexType>
</xs:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment