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

unnamed elements ? | elements with unknown names | <xsd:element name="*"... ?

From: Yves Bresson <Yves.Bresson@linkvest.com>
Date: Mon, 6 Aug 2001 10:58:13 -0400 (EDT)
Message-ID: <B45465FD9C23D21193E90000F8D0F3DF01746590@mailsrv.linkvest.com>
To: <xmlschema-dev@w3.org>

Hi.

Does anyone know if it is possible to have something like this:

		...
		<xsd:sequence>
			<xsd:element name="*" minOccurs="0"
maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element
name="info-a" type="xsd:string"/>
						<xsd:element
name="info-b" type="xsd:string"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
		...


this should allow to verify the document containes elements with UNKNOWN
names, but all these elements contain precise content (2 elements, one
named 'info-a', one named 'info-b').


thanks,
bye,

 Y.L.Bresson

---------------------------------------------------------------------
Received on Wednesday, 22 August 2001 06:47:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:23 GMT