> How can I what encoding was used. I can look in XMLDecl, but encoding > name sometimes is not enough. I.e. 'utf-16' can meen both utf-16le or > utf-16be. If it is UTF-16 the first character must be a byte order mark. This will tell you which one it is, LE or BE. Karl