Location: PHPKode > scripts > Menu Handling Class with SimpleXML and PHP > menu-handling-class-with-simplexml-and-php/xml/navi.xml
<?xml version="1.0" ?>
<links>
	<link id="1">
		<uritext>Go to Claudios Website</uritext>
		<urltext>http://yourhost/SimpleXml_menuClass.php</urltext>		
	</link>
	<sublink subid="1">
		<urisubtext>Go to Web Design</urisubtext>
		<urlsubtext>http://www.fastproject.ch/web.php</urlsubtext>
	</sublink>
	<sublink subid="1">
		<urisubtext>Go to Print Design</urisubtext>
		<urlsubtext>http://www.fastproject.ch/print.php</urlsubtext>
	</sublink>
	<link id="2">
		<uritext>Go to FAST!project</uritext>
		<urltext>http://yourhost/SimpleXml_menuClass.php</urltext>			
	</link>
	<sublink subid="2">
		<urisubtext>FAST!project</urisubtext>
		<urlsubtext>http://www.fastproject.ch/</urlsubtext>
	</sublink>
	<link id="3">
		<uritext>Go to ASP.NET Website</uritext>
		<urltext>http://yourhost/SimpleXml_menuClass.php</urltext>			
	</link>
	<sublink subid="3">
		<urisubtext>ASP.NET</urisubtext>
		<urlsubtext>http://www.asp.net/</urlsubtext>
	</sublink>
	<link id="4">
		<uritext>Go to CodeProject</uritext>
		<urltext>http://yourhost/SimpleXml_menuClass.php</urltext>			
	</link>
	<sublink subid="4">
		<urisubtext>CodeProject</urisubtext>
		<urlsubtext>http://www.codeproject.com/</urlsubtext>
	</sublink>
	<link id="5">
		<uritext>Go to Hot Scripts</uritext>
		<urltext>http://yourhost/SimpleXml_menuClass.php</urltext>			
	</link>
	<sublink subid="5">
		<urisubtext>Hot Scripts</urisubtext>
		<urlsubtext>http://www.hotscripts.com/</urlsubtext>
	</sublink>
</links>
Return current item: Menu Handling Class with SimpleXML and PHP