PHP Classes

File: test.xml

Recommend this page to a friend!
  Classes of Anthony Rogers   XMLnav   test.xml   Download  
File: test.xml
Role: Auxiliary data
Content type: text/plain
Description: example xml document
Class: XMLnav
Creates a menu bar from a definition in XML
Author: By
Last change: Change of version numbering
Date: 16 years ago
Size: 3,595 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <!-- /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *\ * Copyright (C) 2004-2005 Anthony K Rogers roggyadres@hotmail.com * * * * This file is part of XMLmenu. It gives a quick example of how it is implemented * * * * version 1.0 * * copyright 2004 * \*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ --> <menuBar baseUrl="/xml_menu/XMLmenu" basePage="index.php" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="nav.xsd"> <item name="Home" menuname="home" level="1" /> <menu name="About" menuname="about" level="1"> <link name="My Homepage" url="http://www.roganty.co.uk/" target="_blank" level="2" /> <email name="Email Me" username="roggyadres" server="hotmail.com" level="2" /> </menu> <menu name="Development" url="develop.php" menuname="develop" level="1"> <item name="Version 0.1" menuname="ver01" level="2" /> <item name="Version 0.2" menuname="ver02" level="2" /> <item name="Version 0.3" menuname="ver03" level="2" /> <item name="Version 0.4" menuname="ver04" level="2" /> <item name="Version 0.5" menuname="ver05" level="2" /> <item name="Version 1" menuname="ver1" level="2" /> </menu> <menu name="Files" url="files.php" menuname="files" level="1"> <menu name="Images" menuname="imgs" item="images" level="2"> <item name="burst.gif" item="burst_gif" level="3" /> <item name="email.gif" item="email_gif" level="3" /> <item name="file.gif" item="file_gif" level="3" /> <item name="folder.gif" item="folder_gif" level="3" /> <item name="folder.open.gif" item="folder_open_gif" level="3" /> <item name="link.gif" item="link_gif" level="3" /> </menu> <item name="develop.php" menuname="develop_php" level="2" /> <item name="files.php" menuname="files_php" level="2" /> <item name="index.php" menuname="index_php" level="2" /> <item name="license.txt" menuname="license_txt" level="2" /> <item name="nav.xsd" menuname="nav_xsd" level="2" /> <item name="test.php" menuname="test_php" level="2" /> <item name="test.xml" menuname="test_xml" level="2" /> <item name="xmlmenu_class.php" menuname="xmlmenu_php" level="2" /> </menu> <menu name="How to Use" menuname="how" level="1"> <item name="Step 1" menuname="1" level="2" /> <item name="Step 2" menuname="2" level="2" /> <item name="Step 3" menuname="3" level="2" /> <item name="Step 4" menuname="4" level="2" /> </menu> <item name="Future" menuname="future" level="1" /> <link name="My Homepage" url="http://www.roganty.co.uk/" target="_blank" level="1" /> <email name="Email Me" username="roggyadres" server="hotmail.com" level="1" /> </menuBar> <!--<menuBar baseUrl="VARCHAR" (basePage="VARCHAR")>item & menu & link & email</menuBar>--> <!--<item name="VARCHAR" url="VARCHAR" level="INTEGER" />--> <!--<menu name="VARCHAR" url="VARCHAR" menuname="VARCHAR" level="INTEGER">item & menu & link & email</menu>--> <!--<item name="VARCHAR" (url="VARCHAR") menuname="VARCHAR" level="INTEGER" />--> <!--<menu name="VARCHAR" (url="VARCHAR") menuname="VARCHAR" item="VARCHAR" level="INTEGER">item & link & email</menu>--> <!--<item name="VARCHAR" (url="VARCHAR") item="VARCHAR" level="INTEGER" />--> <!--<link name="VARCHAR" url="VARCHAR" (target="VARCHAR") level="INTEGER" />--> <!--<email name="VARCHAR" username="VARCHAR" server="VARCHAR" level="INTEGER" /> username="before@" server="after@"-->