<?xml version="1.0" encoding="iso-8859-1"?>
<!-- file: xhtml-applet-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-applet-1.rng,v 1.1 2010/12/12 23:24:10 smccarro Exp $

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

<define name="xhtml.applet">
  <element name="applet">
    <ref name="xhtml.applet.attlist"/>
    <!-- No restrictions on mixed content in TREX. -->
    <zeroOrMore>
      <ref name="xhtml.param"/>
    </zeroOrMore>
    <ref name="xhtml.Flow.model"/>
  </element>
</define>

<define name="xhtml.applet.attlist">
  <ref name="xhtml.Core.attrib"/>
  <attribute name="alt">
    <ref name="xhtml.Text.datatype"/>
  </attribute>
  <optional>
    <attribute name="archive"/>
  </optional>
  <optional>
    <attribute name="code"/>
  </optional>
  <optional>
    <attribute name="codebase">
      <ref name="xhtml.URI.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="object"/>
  </optional>
  <attribute name="height">
    <ref name="xhtml.Length.datatype"/>
  </attribute>
  <attribute name="width">
    <ref name="xhtml.Length.datatype"/>
  </attribute>
</define>

<define name="xhtml.Inline.class" combine="choice">
  <ref name="xhtml.applet"/>
</define>

</grammar>

