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

Re: Are these schemas equivalent?

From: Eric Jain <Eric.Jain@isb-sib.ch>
Date: Mon, 20 Jan 2003 09:13:23 +0100
Message-ID: <008b01c2c05b$cd4a49f0$3ad721c0@caliente>
To: "Andreas Schneider" <andreas.s@befree.ch>
Cc: "xmlschema-dev" <xmlschema-dev@w3.org>

> How could/should such a document  be tagged? Are the three solutions
> below equivalent? What approach would you prefer? Why?

Try not to use mixed content unless you absolutely have to!

Assuming all resources can be made to fit into a similar structure, the
simplest solution would probably be:

<card>
  <resource>
    <name>HUGO</name>
    <info>...</info>
  </resource>
  <resource>
    <name>GENBANK</name>
    <info>...</info>
  </resource>
</card>


--
Eric Jain
Received on Monday, 20 January 2003 03:24:22 GMT

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