How do I create a XML files to avoid this Error