used xmllint this time

This will help in the long run in case the xml sequence changes.