Removing compiler warning

- Changed XMLList initialization list to a constructor to remove a
compiler warning about that.