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

reference to root element

From: Rosa Macias <rmacias@ll.iac.es>
Date: Fri, 5 Apr 2002 11:51:42 -0500 (EST)
To: <xmlschema-dev@w3.org>
Message-ID: <003301c1dcc2$59c4f250$2b1b48a1@gtc.iac.es>
Hello all,

I have this schema where the "Chapter" element inside "Book" refers back to
The schema seems to be correct but, how can I have an instance where the
"Book" element of "Chapter" always refers back to its root element itself?

<xs:element name="Book">
<xs:element ref="Chapter"/>
<xs:element name="Chapter">
<xs:element ref="Book"></xs:element>

Anyone knows?

Received on Monday, 15 April 2002 06:23:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:56 UTC