<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
         ns="http://dubinko.info/2002/meta/"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
         xmlns:x="http://www.w3.org/1999/xhtml">

<x:h1>Metadata Module (PROPOSED)</x:h1>

<x:p>Proposed by Micah Dubinko</x:p>

<define name="meta">
  <element name="meta">
    <ref name="meta.attlist"/>
  </element>
</define>

<define name="meta.attlist">
  <optional>
    <attribute name="about">
      <x:p>It should actually be anyURI or IDREF</x:p>
      <data type="anyURI"/>
    </attribute>
  </optional>
  <attribute name="name">
    <data type="QName"/>
  </attribute>
  <optional>
    <attribute name="content">
      <text/>
    </attribute>
  </optional>
  <optional>
    <attribute name="id">
      <data type="ID"/>
    </attribute>
  </optional>
</define>

<define name="head.content" combine="interleave">
  <zeroOrMore>
    <ref name="meta"/>
  </zeroOrMore>
</define>

</grammar>