Better xml parsing

changed xml parsing now using lxml and xpath