[Home] [By Thread] [By Date] [Recent Entries]

  • From: Julian Reschke <julian.reschke@g...>
  • To: xml-dev@l...
  • Date: Fri, 31 Aug 2001 12:33:03 +0200

Thanks.

This is exactly what I needed...

> -----Original Message-----
> From: David Carlisle [mailto:davidc@n...]
> Sent: Friday, August 31, 2001 12:27 PM
> To: julian.reschke@g...
> Cc: xml-dev@l...
> Subject: Re: Combining external entities with DTDs
> 
> 
> 
> > 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">
> %wibble;
> ]>
> <Page>
> ...  &wrangle; ...
> </Page>
> 
> 
> where wobble.ent contains
> <!ENTITY wrangle "x">
> 
> 
> whether or not that is modifying the DTD depends on your view of what
> "DTD" means.
> 
> David
> 
> _____________________________________________________________________
> 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.
> 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member