Location: PHPKode > scripts > XML 2 PHP and PHP 2 XML > xml-2-php-and-php-2-xml/example.xml
<?xml version="1.0" encoding="UTF-8"?>
<myxml>
	<sound>
		<soundfile id="0" file="mp3/credits/credits.mp3" />
		<soundfile id="12" file="mp3/intro/intro1.mp3" />
		<soundfile id="13" file="mp3/intro/intro2.mp3" />
		<soundfile id="14" file="mp3/intro/intro3.mp3" />
	</sound>
	<intro>
		<exhibition id="0">
			<image>intro/package_one/seq1_01.jpg</image>
			<image>intro/package_one/seq1_02.jpg</image>
			<image>intro/package_one/seq1_03.jpg</image>
		</exhibition>
		<exhibition id="2">
			<image>intro/package_three/seq3_01.jpg</image>
			<image>intro/package_three/seq3_02.jpg</image>
			<image>intro/package_three/seq3_03.jpg</image>
		</exhibition>
	</intro>	
	<section name="contact">
		<name>Washington Creiton</name>
		<email>hide@address.com</email>
	</section>
</myxml>
Return current item: XML 2 PHP and PHP 2 XML