Well, as you can see I do three checks:

$.parseError.errorCode (this should be 0 if there are no XML errors, which takes care of most of the cases)

val($.firstChild.nodetype) (this should be 7 if the first node is a valid identifier)

The for-each loops check for the node-in-node case (this is apperantly not invalid in XML or else it would have been caught at the first check)

I feel bad for the others who slaved away at a full text parser and all I did was a simple COM call... I hope you guys don't hate me now?
_________________________
The Code is out there