<!--
XML Schema for the SMIL 2.0 Structure functionality.

This is SMIL 2.0
Copyright: 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.

Public URI: http://www.w3.org/2001/SMIL20/smil20-struct.xsd
Author: Aaron Michael Cohen (Intel)
Revision: 2001/07/31
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:smil20="http://www.w3.org/2001/SMIL20/"
        xmlns:smil20lang="http://www.w3.org/2001/SMIL20/Language"
        xmlns:xml="http://www.w3.org/XML/1998/namespace"
        targetNamespace="http://www.w3.org/2001/SMIL20/"
        elementFormDefault="qualified">

    <!-- import xml:lang -->
    <!-- fix schemaLocation later -->
    <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml-mod.xsd"/>

    <!-- define the structure module attribute group -->
    <attributeGroup name="structureModuleAttrs">
        <attribute name="id" type="ID" use="optional"/>
        <attribute name="class" type="string" use="optional"/>
        <attribute ref="xml:lang" use="optional" />   
    </attributeGroup>

    <!-- define the smil element prototype -->
    <complexType name="smilPrototype">
    </complexType>

    <!-- define the head element prototype -->
    <complexType name="headPrototype">
    </complexType>

    <!-- define the body element prototype -->
    <complexType name="bodyPrototype">
    </complexType>

    <!-- declare global elements -->
    <element name="smil" type="smil20lang:smilType" substitutionGroup="smil20lang:smil"/>
    <element name="head" type="smil20lang:headType" substitutionGroup="smil20lang:head"/>
    <element name="body" type="smil20lang:bodyType" substitutionGroup="smil20lang:body"/>

</schema>    
