Parse xml to populate buttons