<?xml version="1.0"?>
<extendedTypes xmlns = "http://www.example.com/XQueryTest/extendedTypes">
	<extendedWithElement>
		<baseElement />
		<extendedElement />
	</extendedWithElement>

	<restricted>
		<baseElement />
	</restricted>

	<restrictedAttribute>
		<baseElement />
	</restrictedAttribute>
</extendedTypes>