/lenasys/0.1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/0.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<body>
<pre>
<?php

		$file = 'example1.xml';
		
		$dom = new DomDocument;
		$dom->preserveWhiteSpace = FALSE;
		$dom->load($file);
		
		$person = $dom->documentElement;
		echo $person->tagName."<br>";
		foreach ($person->childNodes as $child){
				echo " ".$child->tagName;
				echo "<br>   ".$child->nodeValue."<br>";
		}
	
?>
</pre>
</body>
</html>