I see that this was written in Sep 2010 time frame - just wondering if the format of today's dbc is same as it was back then - do you know?
As far as I know, the format is the same. But as I mentioned, this is experimental code, you may need to make some adjustments - please post an update if you do make changes!
The xml file is really a text file. You can open it, read it into a string variable or arraylist or something, then parse it like any other text. There's nothing special about it. So open it in a text editor and find what you are looking for in there, then write code to find that and grab what you want from it.
XML only gets more intelligent when it's opened in an XML capable editor or other software that's written to interpret it according to some pre-determined set of rules.