Ok,
I have code in the same format as this in an xml file...
<notes>
<note>
<username>John Smith</username>
<age>21</age>
<comments>Blah Blah Blah</comments>
</note>
<username>Joe Blogs</username>
<age>35</age>
<comments>Test Test Test</comments>
</note>
</notes>
I know how to for example get all the usernames using
$dom->get_elements_by_tagname('username')
and then looping through them but what i would like to learn to do would be to get it to display is like this...
Username: John Smith
Age: 21
Comments: Blah Blah Blah
for each of the users. Any suggestions?