| <?xml version="1.0" encoding="UTF-8"?> |
| <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.eclipse.org/webtools/tutorials" xmlns:tns="http://www.eclipse.org/webtools/tutorials"> |
| <element name="tutorials"> |
| <key name="category"> |
| <selector xpath="tns:category"/> |
| <field xpath="@id"/> |
| </key> |
| <complexType> |
| <sequence> |
| <element ref="tns:category" minOccurs="1" maxOccurs="unbounded"></element> |
| <element ref="tns:tutorial" minOccurs="0" maxOccurs="unbounded"></element> |
| </sequence> |
| </complexType> |
| </element> |
| |
| <element name="tutorial"> |
| <complexType> |
| <sequence> |
| <element ref="tns:abstract" minOccurs="0" maxOccurs="1"></element> |
| </sequence> |
| <attribute name="link" type="string" use="required"></attribute> |
| <attribute name="title" type="string" use="required"></attribute> |
| <attribute name="lastUpdated" type="date" use="optional"></attribute> |
| <attribute name="datePosted" type="date" use="required"></attribute> |
| <attribute name="categories" type="string" use="required"></attribute> |
| </complexType> |
| </element> |
| |
| <element name="abstract" type="anyType"></element> |
| |
| <element name="category"> |
| <complexType> |
| <attribute name="name" type="string" use="required"></attribute> |
| <attribute name="id" type="string" use="required"></attribute> |
| </complexType> |
| </element> |
| |
| </schema> |