<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
         xmlns:x="http://www.w3.org/1999/xhtml">

<x:h1>Metadata Module (EXPERIMENTAL)</x:h1>

<x:p>Proposed by Micah Dubinko, modified and accepted by the HTML WG</x:p>

<define name="meta">
  <element name="meta">
    <ref name="meta.attlist"/>
    <text/>
  </element>
</define>

<define name="meta.attlist">
  <ref name="id.attrib"/>
  <ref name="I18n.attrib"/>
  <optional>
    <attribute name="about">
      <x:p>It should actually be anyURI or IDREF</x:p>
      <ref name="URI.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="http-equiv">
      <ref name="NMTOKEN.datatype"/>
    </attribute>
  </optional>
  <attribute name="name">
    <data type="QName"/>
  </attribute>
</define>

<define name="head.content" combine="interleave">
  <zeroOrMore>
    <ref name="meta"/>
  </zeroOrMore>
</define>

</grammar>