Have a read of
this[
^].
It should help you in answerign your question. Unfortunately, you haven't really provided enouh information to know exactly where you are going wring. Adding the code at the point oyu try read the content of the XML would help.