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

Nested Elements in Schema

From: <kbisht@citadon.com>
Date: Wed, 17 Oct 2001 14:00:26 -0400 (EDT)
Message-ID: <89D1D7F00129D411AB670050DAB9FAC2023F77A2@ra.bidcom.com>
To: xmlschema-dev@w3.org
Hi,

How can i nest a element say "forwardcomment" inside another element called
"forwardcomment" both being of the same type.

Here is the kind of XML tree i wish to create 

<BaseComment>
	<responsecomment>ZZZZ</responsecomment>
	<forwardcomment>
		XXX
		<responsecomment>ZZZZ</responsecomment>
		<forwardcomment>
		XXX
			<responsecomment>ZZZZ</responsecomment>
		</forwardcomment>

	</forwardcomment>
</BaseComment>

The nesting of the element "forwardcomment" is to be indefinite.

Is it possible at all? 

Any pointers or help would be highly appreciated.

Regards,
kartik
Received on Wednesday, 17 October 2001 14:03:22 GMT

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