Writing info from XML on index.xhtml