W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2002

an Schema for this xml?

From: Marcos Mayorga <marcos.mayorga@grupotecnobit.com>
Date: Fri, 30 Aug 2002 10:05:29 +0200
Message-ID: <9AC7CD9DDB1E7441A6B54B0E7F9B8E3D0BF560@gtalc002sw2000.grupotecnobit.local>
To: <xmlschema-dev@w3.org>


Please i can't resolve a XML-Schema for the following xml:

	<myelement name="n1" a="0" b="1">
		<mynestedelement c="2"/>
	<myelement name="n2" a="0" b="1">
		<mynestedelement c="2"/>
	<myelement href="doc2.xml" path="mycontainer/myelement#n3"/>

where attributes name, a and b are required and mynestedelement is also required.

at the other side, attributes href and path are required, and is simpleContent

how can write an schema where an element has two ways of be described?

thanks in advance
May, DrMay
Received on Friday, 30 August 2002 04:05:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:05 UTC