Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Child of xs:any element in XML Schema

From: altern <altern@------.--->
To: xmlschema-dev@--.---
Date: 1/14/2009 2:25:00 AM
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.



From sandygao@c... Thu Jan 15 15:35:47 2009
Received: from bart.w3.org 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent