Added functions to parse more efficiently meme.xml