- From: Michael Hübner <Michael.Huebner@gft-systems.de>
- Date: Wed, 20 Sep 2000 12:49:49 +0200
- To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Wasn't it a design goal to allow all XML Schema definitions to be
translated
to (less restrictive) DTD definitions?
So what is the equivalent DTD for the following schema?
<xsd:element name="foo">
  <xsd:complexType>
    <xsd:element name="myTag" type="a"/>
  </xsd:complexType>
</xsd:element>
<xsd:element name="bar">
  <xsd:complexType>
    <xsd:element name="myTag" type="b"/>
  </xsd:complexType>
</xsd:element>
<xsd:complexType name="a">
  <xsd:attribute name="key" type="xsd:IDREF"/>
</xsd:complexType>
<xsd:complexType name="b">
  <xsd:attribute name="key" type="xsd:ID"/>
</xsd:complexType>
Received on Wednesday, 20 September 2000 06:49:53 UTC