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

  • From: Peter Jones <peterj@w...>
  • To: 'XML-DEV' <xml-dev@i...>
  • Date: Wed, 2 Sep 1998 09:57:36 +0100

Can I just check the following with folks on the list:

I have what I would like to be a well-formed, but not valid, document:

<!DOCTYPE mydocname [
<!ENTITY  entityname  "Some replacement text">
]>

<mydocname>&entityname;</mydocname>

Question:
If I have to include a !DOCTYPE declaration in order to declare
entities, am I also forced to declare the root element with an !ELEMENT
decl. too?

Thanks,

Peter Jones
WebDev Technical Editor
Wrox Press
mailto:peterj@w...
***************
Wrox Press UK Ltd.
http://www.wrox.co.uk
Tel 44 121 706 6826
Fax 44 121 706 2967





xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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