[
Lists Home |
Date Index |
Thread Index
]
The only problem I see is that you need to wrap your entity declarations
in a DOCTYPE statement:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mydoctype [
<!ENTITY % myOtherDTD SYSTEM "myOtherDTD.dtd">
%myOtherDTD;
<!ENTITY dataTest "replacement text">
]>
<mydoctype>...</mydoctype>
-- Ron
Kevin.Gutch@mapinfo.com wrote:
>
> I have a DTD that uses an parameter entity to import another dtd. Its only
> other function is to then declare a general internal. My problem is that my
> xml file will validate against this dtd but will not recognize the
> reference to the Entity in the XML file. Should this work and is it
> appropriate?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!ENTITY % myOtherDTD SYSTEM "myOtherDTD.dtd">
> %myOtherDTD;
> <!ENTITY dataTest "replacement text">
|