- From: Rosa Macias <rmacias@ll.iac.es>
- Date: Fri, 5 Apr 2002 11:51:42 -0500 (EST)
- To: <xmlschema-dev@w3.org>
Hello all, I have this schema where the "Chapter" element inside "Book" refers back to "Book". 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:complexType> <xs:sequence> <xs:element ref="Chapter"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Chapter"> <xs:element ref="Book"></xs:element> </xs:element> </xs:schema> Anyone knows? Rosa
Received on Monday, 15 April 2002 06:23:13 UTC