<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 targetNamespace="Schema:Pos_070401_AttributeElementDefinition_001"
 xmlns:custom-ns="Schema:Pos_070401_AttributeElementDefinition_001"
 elementFormDefault="qualified"
 attributeFormDefault="unqualified">	
	<xs:element name="test">
		<xs:complexType>			
			<xs:sequence>				
				<xs:element ref="custom-ns:item" />
			</xs:sequence>
			<xs:attribute name="attr1" type="xs:string" />
			<xs:attribute name="attr2" type="xs:string" />
		</xs:complexType>
	</xs:element>
	<xs:element name="item" type="xs:string" />
</xs:schema>