XML Parser Basic Newbie question

I’ve just tried the xml parser example and it displays the info I need.
I would love to place the returned data in a form but don’t know how to access/ reference it from the php functions.
The example page is here:

http://www.bookbargains4u.com/xml_beginner.php

Can anybody help please?
Many thanks
Clive