XML was designed to transport and store data. It stands for eXtensible Markup Language. The information it needs to transfer is typically enclosed between custom <tags>.
The most flexible way to extract information from XML files is using Perl. The XML::Parser module (available for download from CPAN) is relatively easy to use, fast, and efficient.
<note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>