wrapping XML and XMLList constructors to handle comments and xml declarations