in reply to xml files to sequence diagram

For quickly outputting diagrams, I find GraphViz2 quite convenient.

So all you have to do is read the XML into the appropriate data structure and that's it.

For reading the XML, I would look at XML::Twig or XML::LibXML.