Added the categories as an xml document to be more dynamic.