'xml parsing easy' - tutorial aint workin

following along the parsing xml ‘easy’ tute - no joy

a. saved ‘xml_beginner.xml’ file in same directory as example php file

b. launch a browser

c. file open

d. open example php file which is designed to ref ‘xml_beginner.xml’ file

e. browser displays the text contents of php file

ok what’d I get wrong ?

thx

niteboater