I'm using simplexml_load_string to load and parse an XML file.
The xml file contains multiple child nodes with the same name. I'm using a foreach loop to step through the file, however when I try to parse the nodes with the same name only data from the the first node is returned.
Any help with how to return all values greatly appreciated.
<valueAdd id='2048'>Free Wireless Internet</valueAdd>
<valueAdd id='2'>Continental Breakfast</valueAdd>
<valueAdd id='128'>Free Parking</valueAdd>