PHP Classes

File: example.xml

Recommend this page to a friend!
  Classes of David Wainwright   ezphpconfig   example.xml   Download  
File: example.xml
Role: Auxiliary data
Content type: text/plain
Description: example xml file
Class: ezphpconfig
Converts xml config file into a set of php classes
Author: By
Last change: Added more elements for test script
Date: 15 years ago
Size: 921 bytes
 

Contents

Class file image Download
<config> <!-- You can add comments as well --> <rootDirectory>/home/user/projects/myProject</rootDirectory> <database> <primary> <host>myDbServer1</host> <username>user2</username> <password type="string">letmein</password> <timeout>10</timeout> <portNo /> </primary> <secondary> <host>myDbServer2</host> <username>user2</username> <password></password> <timeout type="int">25</timeout> <portNo type="string" /> </secondary> </database> <web> <cardTypes type="array"> <item value="Maestro" /> <item value="UK Visa Debit" /> <item type="string" index="V" value="Visa" /> <item type="int" index="N" /> <item index="M" value="Mastercard" /> </cardTypes> </web> </config>