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

RE: referencing a schema fails

From: John Haber <jhaber@haberarts.com>
Date: Tue, 5 Aug 2003 17:27:22 -0400
To: "Paul Warren" <pdw@decisionsoft.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <DJELKIDJKFDDBJAHIDIACELMCNAA.jhaber@haberarts.com>

P.S.  Just to be clearer, I should have included my attempt at coding the
schema for the element containing both attributes and child elements:

<xsd:element name="review">
  <xsd:complexType>
  <xsd:attribute name="author" use="required" type="authorType" />
  <xsd:attribute name="completed" use="required" type="xsd:date" />
    <xsd:sequence>
	  <xsd:element ref="blurb" />
	  <xsd:element ref="exhibition" />
	  <xsd:element ref="essay" />
	  <xsd:element ref="images" />
	</xsd:sequence>
  </xsd:complexType>
</xsd:element>

John
Received on Tuesday, 5 August 2003 17:25:46 GMT

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