added xml support for tiles