<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
 xmlns:xs="http://www.w3.org/2001/XMLSchema"
 elementFormDefault="qualified"
 xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
>
	<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/"
		schemaLocation="xhtml-datatypes-1.xsd" />

	<xs:annotation>
		<xs:documentation>
			This is the XML Schema RDFA Elements module for XHTML
			Created by Mark Birbeck on April 9th, 2006.
		</xs:documentation>
		<xs:documentation source="http://skimstone.x-port.net/index.php?q=node/214" />
	</xs:annotation>

	<xs:annotation>
		<xs:documentation>
			Meta Information
			
				* meta
				* link
			
			This module declares the meta and link element types and
			some of their attributes, used to provide declarative document metainformation.
	    </xs:documentation>
		<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_metamodule"/>
	</xs:annotation>

	<xs:attributeGroup name="meta.attlist">
		<xs:attributeGroup ref="Common.attrib"/>
		<xs:attribute name="name" type="xs:NMTOKEN"/>
		<xs:attribute name="scheme" type="xh11d:CDATA"/>
	</xs:attributeGroup>

	<xs:attributeGroup name="link.attlist">
		<xs:attributeGroup ref="Common.attrib"/>
		<xs:attribute name="media" type="xh11d:MediaDesc"/>
	</xs:attributeGroup>
	
	<xs:group name="rdfa.content">
		<xs:choice>
			<xs:element ref="meta" />
			<xs:element ref="link" />
		</xs:choice>
	</xs:group>

	<xs:complexType name="meta.type" mixed="true">
		<xs:group ref="rdfa.content" minOccurs="0" maxOccurs="unbounded" />
		<xs:attributeGroup ref="meta.attlist"/>
	</xs:complexType>

	<xs:complexType name="link.type" mixed="true">
		<xs:group ref="rdfa.content" minOccurs="0" maxOccurs="unbounded" />
		<xs:attributeGroup ref="link.attlist"/>
	</xs:complexType>

	<xs:element name="link" type="link.type"/>
	<xs:element name="meta" type="meta.type"/>
</xs:schema>
