Parse XPATH when looking for classes