php code to parse test xml file, adding styles too