[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Combining external entities with DTDs
- From: David Carlisle <email@example.com>
- To: firstname.lastname@example.org
- Date: Fri, 31 Aug 2001 11:26:43 +0100
> Can I declare the external entitity in the header of my XML instance file
> without having to modify the DTD?
yes or no.
You can do:
<!DOCTYPE Page SYSTEM "cfl.dtd" [
<!ENTITY % wibble "wobble.ent">
... &wrangle; ...
where wobble.ent contains
<!ENTITY wrangle "x">
whether or not that is modifying the DTD depends on your view of what
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.