Re: [xmlschema-dev] <none>

"Ben Marchal (Mailing Lists)" <> writes:

> Hello
> I'm preparing a new paper on XML Schema and two issues are unclear to me. Id
> be grateful for any clarifications.
> Specifically, when an element contains a sequence of elements, I use
> xsd:complexType to define it. My question is do I have to insert a
> xsd:sequence element in there or can I just list the element?

You must use <xsd:sequence> (or <xsd:all> or <xsd:choice>).

> The second issue is I'm not sure I understand the practical differences
> between xsd:group and xsd:sequence.

<xsd:group name="xxx">...</xsd:group> is for _nameing_ a

<xsd:group ref="xxx"/> is for incorporating such a named

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail:

Received on Friday, 9 March 2001 05:43:45 UTC