ok this is tile set export for lua which i find much more readable then the xml format. I don't even know how to partion the xml so i guess if you use tile map you can export it in lua format.
Where data=//some data in the lua format then you can use this as a layer.
return { version = "1.1", luaversion = "5.1", orientation
= "orthogonal", width = 20, height = 15, tilewidth = 50,
tileheight = 50, properties = { ["background_color"]
= "#00C0FF" }, tilesets = { { name = "tileset", firstgid = 1,
tilewidth = 50, tileheight = 50, spacing = 0, margin = 0, image
= "../../Desktop/New Folder (3)/result/Texture 0.png", imagewidth = 250, imageheight = 250, properties = {}, tiles = {} } }, layers
= { { type = "tilelayer", name = "Tile Layer 1", x = 0, y = 0,
width = 20, height = 15, visible = true, opacity = 1, properties =
{}, encoding = "lua", data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 22, 22, 22, 22, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 22, 22, 22, 22, 22, 22,
22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 10, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 10, 22, 22, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 10, 22, 0, 22, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0,
0, 0, 25, 10, 0, 0, 0, 22, 22, 22, 22, 22, 22, 22, 22, 22, 10, 10,
10, 10, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } } }
I looked at examples of the xml format and how to partion the file but the data looks like I can't. If you use the map editor code I created last year and this format I pretty sure you get the same thing.
Developer of Space Chips, pianobasic, and zipzapzoom apps.
Veterian for the military.