[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Child of xs:any element in XML Schema

From: altern <altern@bigmir.net>
Date: Wed, 14 Jan 2009 10:25:05 -0800 (PST)
Message-ID: <21462072.post@talk.nabble.com>
To: xmlschema-dev@w3.org
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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.