First page Back Continue Last page Overview Graphics

Xschema example

<?xml version="1.0"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:annotation>

<xsd:documentation xml:lang="en">

Example Schema for IWM workshop

</xsd:documentation>

</xsd:annotation>

<xsd:element name="page" type="page"/>

<xsd:complexType name="page">

<xsd:sequence>

<xsd:element name="title" type="xsd:string"/>

<xsd:element name="content" type="pageContent"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="pageContent">

<xsd:sequence>

<xsd:element name="para" type="xsd:string" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

</xsd:schema>