XML layout schema generation