Child of xs:any element in XML Schema

How to define child elements of xs:any element? For instance, I want to
formalize situation, when in some scope I can have any element, but with
restriction that it has only defined list of child elements.

Example:

<root>
....
	<scope>
		<example_element1>
			<child></child>
		</example_element1>
		<example_element2>
			<child></child>
		</example_element2>
		<example_element3>
			<child></child>
		</example_element3>
	</scope>
....
</root>

As you can see, there are three different elements that contain <child>
element. It would be perfect if it is possible to define pattern of elements
names, that can contain <child> element. 

Any help is appreciated
-- 
View this message in context: http://www.nabble.com/Child-of-xs%3Aany-element-in-XML-Schema-tp21462072p21462072.html
Sent from the w3.org - xmlschema-dev mailing list archive at Nabble.com.

Received on Thursday, 15 January 2009 10:19:53 UTC