<?xml version="1.0" encoding="iso-8859-1"?>

<!-- file: xhtml-pres-1.rng

     This is XHTML, a reformulation of HTML as a modular XML application.
     Copyright 1998-2010 W3C (MIT, ERCIM, Keio), All Rights Reserved.
     Revision: $Id: xhtml-pres-1.rng,v 1.1 2010/12/12 23:24:11 smccarro Exp $

     This RelaxNG module is identified by URI:
        
        http://www.w3.org/MarkUp/RELAXNG/xhtml-pres-1.rng
     .................................................................... -->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">

<define name="xhtml.hr">
  <element name="hr">
    <ref name="xhtml.hr.attlist"/>
  </element>
</define>

<define name="xhtml.hr.attlist">
  <ref name="xhtml.Common.attrib"/>
</define>

<define name="xhtml.Block.class" combine="choice">
  <ref name="xhtml.hr"/>
</define>

<define name="xhtml.b">
  <element name="b">
    <ref name="xhtml.b.attlist"/>
    <ref name="xhtml.Inline.model"/>
  </element>
</define>

<define name="xhtml.b.attlist">
  <ref name="xhtml.Common.attrib"/>
</define>

<define name="xhtml.big">
  <element name="big">
    <ref name="xhtml.big.attlist"/>
    <ref name="xhtml.Inline.model"/>
  </element>
</define>

<define name="xhtml.big.attlist">
  <ref name="xhtml.Common.attrib"/>
</define>

<define name="xhtml.i">
  <element name="i">
    <ref name="xhtml.i.attlist"/>
    <ref name="xhtml.Inline.model"/>
  </element>
</define>

<define name="xhtml.i.attlist">
  <ref name="xhtml.Common.attrib"/>
</define>

<define name="xhtml.small">
  <element name="small">
    <ref name="xhtml.small.attlist"/>
    <ref name="xhtml.Inline.model"/>
  </element>
</define>

<define name="xhtml.small.attlist">
  <ref name="xhtml.Common.attrib"/>
</define>

<define name="xhtml.sub">
  <element name="sub">
    <ref name="xhtml.sub.attlist"/>
    <ref name="xhtml.Inline.model"/>
  </element>
</define>

<define name="xhtml.sub.attlist">
  <ref name="xhtml.Common.attrib"/>
</define>

<define name="xhtml.sup">
  <element name="sup">
    <ref name="xhtml.sup.attlist"/>
    <ref name="xhtml.Inline.model"/>
  </element>
</define>

<define name="xhtml.sup.attlist">
  <ref name="xhtml.Common.attrib"/>
</define>

<define name="xhtml.tt">
  <element name="tt">
    <ref name="xhtml.tt.attlist"/>
    <ref name="xhtml.Inline.model"/>
  </element>
</define>

<define name="xhtml.tt.attlist">
  <ref name="xhtml.Common.attrib"/>
</define>

<define name="xhtml.Inline.class" combine="choice">
  <choice>
    <ref name="xhtml.b"/>
    <ref name="xhtml.big"/>
    <ref name="xhtml.i"/>
    <ref name="xhtml.small"/>
    <ref name="xhtml.sub"/>
    <ref name="xhtml.sup"/>
    <ref name="xhtml.tt"/>
  </choice>
</define>

</grammar>
