Collision Detection with a tiled map (.tmx)

Hey!
I am trying to get the X and Y cordinates of every tile in my tiled map. I cant find out how i should do this. Or is there a better way to check for collision with the tiles?