R: DTDs, multiple

try:

<!ENTITY % GinoDtd SYSTEM "gino.dtd">
%GinoDtd;

this will import everything declared inside gino.dtd into the file you write those
two lines in.
Anyway, this won't solve the multiple DOCTYPE issue.

Cheers,

stefano debenedetti
www.e-tree.com
www.webanana.com

----- Original Message -----
From: Michael B <michael.burkert@daimlerchrysler.com>
To: <www-dom@w3.org>
Sent: Friday, August 04, 2000 1:06 PM
Subject: DTDs, multiple


> 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 Saturday, 5 August 2000 12:56:17 UTC