<?xml version="1.0"?>

<!-- This code will be used to derive a text only complex type for an attribute called "year" 
     in a element called "age"-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<xsd:element name="age" type="ageType"/>
	
	<xsd:complexType name="ageType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:integer">
				<xsd:attribute name="year" type="xsd:date"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
</xsd:schema>
