You seem to be thinking correctly as far as getting the file from the
DB and then understanding the requirement to parse it.
Now for the part where you want the answer to getting the value
based on the XPath, I am kinda hazy on that...I myself am trying
to follow
these tutorials for DOM/SAX trying to learn things.
Hopefully someone else has a better (direct) answer to your question.
regds.
- m