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

<!-- file: xhtml-param-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-param-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-param-1.rng
     .................................................................... -->
<!-- Param Module -->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">

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

<define name="xhtml.param.attlist">
  <ref name="xhtml.id.attrib"/>
  <attribute name="name"/>
  <optional>
    <attribute name="value"/>
  </optional>
  <optional>
    <attribute name="valuetype">
      <choice>
	<value>data</value>
	<value>ref</value>
	<value>object</value>
      </choice>
    </attribute>
  </optional>
  <optional>
    <attribute name="type">
      <ref name="xhtml.ContentType.datatype"/>
    </attribute>
  </optional>
</define>

</grammar>
