Login   Register  
PHP Classes
elePHPant
Icontem

File: example.xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Protung Dragos  >  PHP Simple Large XML Parser  >  example.xml  >  Download  
File: example.xml
Role: Auxiliary data
Content type: text/plain
Description: Example XML
Class: PHP Simple Large XML Parser
Parse XML documents and return arrays of elements
Author: By
Last change: tag mismatch
Date: 2009-10-02 01:58
Size: 4,153 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8" ?>
<!--
/**********************
 * Example XML (not that large, but it's for demo purpose only)
 **********************/
 -->
<myFirstNode>
	<color-palettes>
		<color type='txt'>red</color>
		<color type='txt'>yellow</color>
		<color type='txt'>lime</color>
		<color type='txt'>cyan</color>
		<color type='txt'>blue</color>
		<color type='txt'>magenta</color>
		<color type='txt'>white</color>
		<color type='txt'>black</color>
		<color type='hex'>#FF0000</color>
		<color type='hex'>#FFFF00</color>
		<color type='hex'>#00FF00</color>
		<color type='hex'>#00FFFF</color>
		<color type='hex'>#0000FF</color>
		<color type='hex'>#FF00FF</color>
		<color type='hex'>#FFFFFF</color>
		<color type='hex'>#000000</color>
	</color-palettes>
	<first-100-numbers>
		<number n='1'>1</number>
		<number n='2'>2</number>
		<number n='3'>3</number>
		<number n='4'>4</number>
		<number n='5'>5</number>
		<number n='6'>6</number>
		<number n='7'>7</number>
		<number n='8'>8</number>
		<number n='9'>9</number>
		<number n='10'>10</number>
		<number n='11'>11</number>
		<number n='12'>12</number>
		<number n='13'>13</number>
		<number n='14'>14</number>
		<number n='15'>15</number>
		<number n='16'>16</number>
		<number n='17'>17</number>
		<number n='18'>18</number>
		<number n='19'>19</number>
		<number n='20'>20</number>
		<number n='21'>21</number>
		<number n='22'>22</number>
		<number n='23'>23</number>
		<number n='24'>24</number>
		<number n='25'>25</number>
		<number n='26'>26</number>
		<number n='27'>27</number>
		<number n='28'>28</number>
		<number n='29'>29</number>
		<number n='30'>30</number>
		<number n='31'>31</number>
		<number n='32'>32</number>
		<number n='33'>33</number>
		<number n='34'>34</number>
		<number n='35'>35</number>
		<number n='36'>36</number>
		<number n='37'>37</number>
		<number n='38'>38</number>
		<number n='39'>39</number>
		<number n='40'>40</number>
		<number n='41'>41</number>
		<number n='42'>42</number>
		<number n='43'>43</number>
		<number n='44'>44</number>
		<number n='45'>45</number>
		<number n='46'>46</number>
		<number n='47'>47</number>
		<number n='48'>48</number>
		<number n='49'>49</number>
		<number n='50'>50</number>
		<number n='51'>51</number>
		<number n='52'>52</number>
		<number n='53'>53</number>
		<number n='54'>54</number>
		<number n='55'>55</number>
		<number n='56'>56</number>
		<number n='57'>57</number>
		<number n='58'>58</number>
		<number n='59'>59</number>
		<number n='60'>60</number>
		<number n='61'>61</number>
		<number n='62'>62</number>
		<number n='63'>63</number>
		<number n='64'>64</number>
		<number n='65'>65</number>
		<number n='66'>66</number>
		<number n='67'>67</number>
		<number n='68'>68</number>
		<number n='69'>69</number>
		<number n='70'>70</number>
		<number n='71'>71</number>
		<number n='72'>72</number>
		<number n='73'>73</number>
		<number n='74'>74</number>
		<number n='75'>75</number>
		<number n='76'>76</number>
		<number n='77'>77</number>
		<number n='78'>78</number>
		<number n='79'>79</number>
		<number n='80'>80</number>
		<number n='81'>81</number>
		<number n='82'>82</number>
		<number n='83'>83</number>
		<number n='84'>84</number>
		<number n='85'>85</number>
		<number n='86'>86</number>
		<number n='87'>87</number>
		<number n='88'>88</number>
		<number n='89'>89</number>
		<number n='90'>90</number>
		<number n='91'>91</number>
		<number n='92'>92</number>
		<number n='93'>93</number>
		<number n='94'>94</number>
		<number n='95'>95</number>
		<number n='96'>96</number>
		<number n='97'>97</number>
		<number n='98'>98</number>
		<number n='99'>99</number>
		<number n='100'>100</number>
	</first-100-numbers>
	<searchengines>
		<engine>
			<name>Google</name>
			<website>http://www.google.com</website>
		</engine>
		<engine>
			<name>Yahoo</name>
			<website>http://www.yahoo.com</website>
		</engine>
		<engine>
			<name>Bing</name>
			<website>http://www.bing.com</website>
		</engine>
	</searchengines>
</myFirstNode>