W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

DTDs, multiple

From: Michael B <michael.burkert@daimlerchrysler.com>
Date: Fri, 4 Aug 2000 07:06:31 -0400 (EDT)
Message-ID: <398AA389.37EFCCDD@daimlerchrysler.com>
To: www-dom@w3.org
Hello !

Is it possible to have ONE xml-File, but TWO DTDs ??

XML-File:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE StarFeedback SYSTEM "back01.dtd">
<StarFeedback>
...
<CSDCall>
    <CSDReturn>OK
    </CSDReturn>
</CSDCall>


DTD1 (back01.dtd):
<!DOCTYPE  StarFeedback[
<!Element    StarFeedback   (...)>
...
<!Element    CSDCall    (??)>
...
]>

DTD2 (backCSD.dtd):
<!DOCTYPE  CSDCall[
<!Element    CSDCall      (CSDReturn)>
<!Element    CSDReturn  (#PCDATA)>
]>

This will not work: "Cannot have multiple DOCTYPE declarations."

How can I link the two DTDs ?
Received on Friday, 4 August 2000 09:17:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT