Re: [xml] correct way to output HTML without the <?xml...
- From: Nic James Ferrier <nferrier tapsellferrier co uk>
- To: <John Hockaday ga gov au>
- Cc: xml gnome org
- Subject: Re: [xml] correct way to output HTML without the <?xml...
- Date: Wed, 24 May 2006 09:20:34 +0100
<John Hockaday ga gov au> writes:
Nic,
An XML document instance must have an xml declaration otherwise it is not
valid XML.
One more thing... the XML decl does not infer validity. Only a DTD or
schema can infer validity.
The decl is simply required by XML 1.1 to state the version of XML
being used. XML 1.0 doesn't require it because 1.0 is assumed.
Nic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]