<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:element name="test">
	<xsd:complexType>
		<xsd:sequence>
			<xsd:element name="child" />
		</xsd:sequence>.
		<xsd:attribute name="color" type="xsd:string"/>
	</xsd:complexType>
</xsd:element>
</xsd:schema>