W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 1999

Nesting archetypes

From: Martin Bryan <mtbryan@sgml.u-net.com>
Date: Thu, 16 Sep 1999 10:41:16 +0100
Message-ID: <016301bf0033$7c6e51c0$cac466c3@unet.com>
To: <www-xml-schema-comments@w3.org>
It seems that you cannot directly nest archetype references within archetype
declarations, which seems a pity. I wanted to do something like the
following today:

<archetype name="LegalPerson">
<choice>
   <archetypeRef name="Individual">
   <archetypeRef name="Organization">
</choice>
</archetype>

Is there any reason why this is not permitted?

Martin Bryan
-----------------------------------------------------------------

Martin Bryan, 29 Oldbury Orchard, Churchdown, Glos GL3 2PU, UK
Phone/Fax: +44 1452 714029 E-mail: mtbryan@sgml.u-net.com
For more information about The SGML Centre contact
http://www.sgml.u-net.com
For more information about the European Commission's
Open Information Interchange (OII) initiative contact
http://www.echo.lu/oii/en/oiistand.html
For more information about the ISIS XML/EDI Project contact
 http://wwe.tieke.fi/isis-xmedil.html
Received on Thursday, 16 September 1999 07:06:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:46 GMT