| <?xml version="1.0" encoding="UTF-8"?> |
| <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.eclipse.org/webtools/faq" xmlns:tns="http://www.eclipse.org/webtools/faq"> |
| <element name="faq" type="tns:faq"> |
| <key name="entry"> |
| <selector xpath="tns:entry"/> |
| <field xpath="@id"/> |
| </key> |
| <key name="category"> |
| <selector xpath="tns:category"/> |
| <field xpath="@name"/> |
| </key> |
| </element> |
| <element name="question" type="anyType"> |
| </element> |
| |
| <element name="answer" type="anyType"> |
| </element> |
| |
| <element name="entry"> |
| <complexType> |
| <sequence> |
| <element ref="tns:question"></element> |
| <element ref="tns:answer"></element> |
| </sequence> |
| <attribute name="id" type="string" use="required"></attribute> |
| <attribute name="category" type="string" use="optional" default="General"></attribute> |
| </complexType> |
| </element> |
| |
| <complexType name="faq"> |
| <sequence> |
| <element ref="tns:about" minOccurs="0" maxOccurs="1"></element> |
| <element ref="tns:category" minOccurs="1" maxOccurs="unbounded"></element> |
| <element ref="tns:entry" minOccurs="0" |
| maxOccurs="unbounded"> |
| </element> |
| </sequence> |
| <attribute name="name" type="string" use="required"></attribute> |
| </complexType> |
| |
| <element name="about" type="anyType"> |
| </element> |
| |
| <element name="category"> |
| <complexType> |
| <attribute name="name" type="string" use="required"></attribute> |
| </complexType> |
| </element> |
| |
| </schema> |