| <?xml version="1.0" encoding="UTF-8"?> |
| <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.eclipse.org/webtools/articles" xmlns:tns="http://www.eclipse.org/webtools/articles"> |
| <element name="articles"> |
| <complexType> |
| <sequence> |
| <element ref="tns:article" minOccurs="0" maxOccurs="unbounded"></element> |
| </sequence> |
| </complexType> |
| </element> |
| |
| <element name="article"> |
| <complexType> |
| <sequence> |
| <element ref="tns:publication" minOccurs="1" maxOccurs="1"></element> |
| <element ref="tns:author" maxOccurs="unbounded" minOccurs="1"></element> |
| </sequence> |
| <attribute name="title" type="string" use="required"></attribute> |
| <attribute name="link" type="string" use="required"></attribute> |
| <attribute name="publicationDate" type="date" use="required"></attribute> |
| </complexType> |
| </element> |
| |
| <element name="publication"> |
| <complexType> |
| <attribute name="name" type="string" use="required"></attribute> |
| <attribute name="link" type="string" use="optional"></attribute> |
| </complexType> |
| </element> |
| |
| <element name="author"> |
| <complexType> |
| <attribute name="name" type="string" use="required"></attribute> |
| </complexType> |
| </element> |
| |
| </schema> |