A new approach to quantum spin chains at finite temperature