> And cannot in the first few characters (legally), since these must be > "<?xml ".
Wrong: the XML declaration is NOT mandatory, only recommanded. So a XML document can directly start with its actual content which may be whitespaces, a XML comment (starting by "<!--"), or the start tag of the root element. -- Philippe.

