<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           targetNamespace="http://www.w3.org/1999/xhtml"
           xmlns="http://www.w3.org/1999/xhtml">

  <xs:annotation>
    <xs:documentation>
      This XML Schema declares changes to the content models
      of modules included in SLXHTML 1.0
      $Id: slxhtml-module-redefines-1.xsd,v 1.3 2003/12/02 19:34:37 karlinger Exp $
    </xs:documentation>
    <xs:documentation source="xhtml-copyright-1.xsd"/>
  </xs:annotation>
  
  <xs:annotation>
    <xs:documentation>
      Module Content Model Redefinitions 
      
      This schema describes the changes (Redefinitions) to the
      content model of individual modules as they are instantiated as part of 
      SLXHTML 1.0 Document
    </xs:documentation>
  </xs:annotation>

  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <!-- Changes to Structural Module -->
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

  <xs:redefine schemaLocation="xhtml-struct-1.xsd">

     <xs:group name="head.content">
       <xs:annotation>
         <xs:documentation>
           Redefinition by SLXHTML: Only a single instance of element "style" is 
           allowed apart from the obligatory "title" element.
         </xs:documentation>
       </xs:annotation>      
       <xs:sequence>
        <xs:element ref="title"/>
        <xs:element ref="style" minOccurs="0"/>
       </xs:sequence>
     </xs:group>

     <xs:attributeGroup name="version.attrib">
       <xs:annotation>
         <xs:documentation>
            Redefinition by SLXHTML: Change value of the version attrib.
         </xs:documentation>
       </xs:annotation>         
       <xs:attribute name="version" type="FPI" fixed="-//www.buergerkarte.at//DOCUMENT SLXHTML 1.0//DE"/>
     </xs:attributeGroup>
     
	   <xs:attributeGroup name="profile.attrib">
       <xs:annotation>
         <xs:documentation>
            Redefinition by SLXHTML: Removed profile attrib.
         </xs:documentation>
       </xs:annotation>         
	   </xs:attributeGroup>

  </xs:redefine>  

  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <!-- Changes to common attributes module (included in framework module) -->
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

  <xs:redefine schemaLocation="xhtml-framework-1.xsd">

    <xs:attributeGroup name="I18n.attrib">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: Removed xml:lang attrib.
        </xs:documentation>
      </xs:annotation>         
      <xs:attributeGroup ref="I18n.extra.attrib"/>
    </xs:attributeGroup>
  
    <xs:attributeGroup name="title">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: Removed title attrib.
        </xs:documentation>
      </xs:annotation>         
    </xs:attributeGroup>

  </xs:redefine>  

  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <!-- Changes to block phrasal elements module (included in text module) -->
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

  <xs:redefine schemaLocation="xhtml-text-1.xsd">

    <xs:attributeGroup name="blockquote.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: Removed cite attrib.
        </xs:documentation>
      </xs:annotation>         
      <xs:attributeGroup ref="Common.attrib"/>
    </xs:attributeGroup>

  </xs:redefine>  

  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <!-- Changes to images module -->
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

  <xs:redefine schemaLocation="xhtml-image-1.xsd">

    <xs:attributeGroup name="img.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: Removed attributes "longdesc", "height", "width".
        </xs:documentation>
      </xs:annotation>         
      <xs:attributeGroup ref="Common.attrib"/>
      <xs:attribute name="src" type="URI" use="required"/>
      <xs:attribute name="alt" type="Text" use="required"/>
    </xs:attributeGroup>

  </xs:redefine>  

  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <!-- Changes to style module -->
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

  <xs:redefine schemaLocation="xhtml-style-1.xsd">

    <xs:attributeGroup name="style.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute group "title"
            Removed attribute "xml:space"
            Fixed value of attribute "type"
            Fixed value of attribute "media"
        </xs:documentation>
      </xs:annotation>         
      <xs:attributeGroup ref="I18n.attrib"/>
      <xs:attribute name="type" type="ContentType" use="required" fixed="text/css"/>
      <xs:attribute name="media" type="MediaDesc" fixed="screen"/>
    </xs:attributeGroup>

  </xs:redefine>  

  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <!-- Changes to table module -->
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

  <xs:redefine schemaLocation="xhtml-table-1.xsd">

    <xs:attributeGroup name="td.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "scope.attrib", "CellHAlign.attrib", "CellVAlign.attrib"
            Removed attributes "abbr", "axis", "headers"
        </xs:documentation>
      </xs:annotation>         
      <xs:attributeGroup ref="Common.attrib"/>
      <xs:attribute name="rowspan" type="Number" default="1"/>
      <xs:attribute name="colspan" type="Number" default="1"/>
    </xs:attributeGroup>

    <xs:attributeGroup name="th.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "scope.attrib", "CellHAlign.attrib", "CellVAlign.attrib"
            Removed attributes "abbr", "axis", "headers"
        </xs:documentation>
      </xs:annotation>
      <xs:attributeGroup ref="Common.attrib"/>
      <xs:attribute name="rowspan" type="Number" default="1"/>
      <xs:attribute name="colspan" type="Number" default="1"/>
    </xs:attributeGroup>

    <xs:attributeGroup name="tr.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
        </xs:documentation>
      </xs:annotation>
      <xs:attributeGroup ref="Common.attrib"/>
    </xs:attributeGroup>

    <xs:attributeGroup name="col.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
            Removed attributes "span", "width"
        </xs:documentation>
      </xs:annotation>
      <xs:attributeGroup ref="Common.attrib"/>
    </xs:attributeGroup>

    <xs:attributeGroup name="colgroup.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
            Removed attributes "span", "width"
        </xs:documentation>
      </xs:annotation>
      <xs:attributeGroup ref="Common.attrib"/>
    </xs:attributeGroup>

    <xs:attributeGroup name="tbody.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
        </xs:documentation>
      </xs:annotation>
      <xs:attributeGroup ref="Common.attrib"/>
    </xs:attributeGroup>

    <xs:attributeGroup name="tfoot.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
        </xs:documentation>
      </xs:annotation>
      <xs:attributeGroup ref="Common.attrib"/>
    </xs:attributeGroup>

    <xs:attributeGroup name="thead.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
        </xs:documentation>
      </xs:annotation>
      <xs:attributeGroup ref="Common.attrib"/>
    </xs:attributeGroup>

    <xs:attributeGroup name="table.attlist">
      <xs:annotation>
        <xs:documentation>
          Redefinition by SLXHTML: 
            Removed attribute groups "frame.attrib", "rules.attrib" 
            Removed attributes "summary", "width", "border", "cellspacing", "cellpadding" 
        </xs:documentation>
      </xs:annotation>
      <xs:attributeGroup ref="Common.attrib"/>
    </xs:attributeGroup>
  </xs:redefine>

</xs:schema>