<?xml version="1.0" encoding="utf-8"?>
<!-- filename=uk_lip_attributesv1p0.xsd -->
<!-- based on ims_lip_attributesv1p0.xsd Copyright (c) 2001 IMS Global Learning Consortium -->
<!-- edited by Simon Grant, 2004-08-03 any changes (c) CETIS 2004 -->
<!DOCTYPE xsd:schema
  PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [
<!ENTITY % p 'xsd:'>
<!ENTITY % s ':xsd'>
]>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsproject.org/xsd/ims_lip_rootv1p0"  targetNamespace="http://www.imsproject.org/xsd/ims_lip_rootv1p0" version="LIP 1.0 Schema 1.0">
	<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="uk_xml.xsd"/>
	<xsd:annotation>
		<xsd:documentation>Commonly used attributes</xsd:documentation>
	</xsd:annotation>
	<xsd:attributeGroup name="attr.text">
		<xsd:attribute name="uri" type="xsd:string"/>
		<xsd:attributeGroup ref="attr.lang"/>
	</xsd:attributeGroup>
	<xsd:attributeGroup name="attr.lang">
		<xsd:attribute ref="xml:lang"/>
	</xsd:attributeGroup>
	<xsd:attributeGroup name="attr.source">
		<xsd:attribute name="source" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:enumeration value="text"/>
					<xsd:enumeration value="uri"/>
					<xsd:enumeration value="entityref"/>
					<xsd:enumeration value="uid"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:attributeGroup>
	<xsd:attributeGroup name="attr.uri">
		<xsd:attribute name="uri" type="xsd:string"/>
	</xsd:attributeGroup>
	<xsd:attributeGroup name="attr.entityref">
		<xsd:attribute name="entityref" type="xsd:ENTITY" use="optional"/>
	</xsd:attributeGroup>
</xsd:schema>

