|
The article starts with
"The XML declaration at the beginning of an XML document is not necessary, but it's the best way to say "this is definitely an XML document and here's the release of XML it conforms to."
then not even two paragraphs later shows us
<?xml version="1.0" encoding="utf-8" ?>Dagon his Name, Sea Monster
which is definitely NOT an XML document regardless of how many XML declarations it begins with.
A better statement would have been to point out that XSLT allows one to precede output with an XML declaration REGARDLESS of whether or not it is well formed or valid XML.
|