Function BuildXMLTree
Rebuild an XML tree in our own style from the parsed XML tags using a tail-recursive approach.
Package: awl\XMLElement
Copyright: Catalyst .Net Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU LGPL version 3 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at XMLElement.php
Copyright: Catalyst .Net Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU LGPL version 3 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at XMLElement.php
array |
$xmltags |
An array of XML tags we get from using the PHP XML parser |
intref |
& $start_from |
$start_from A pointer to our current integer offset into $xmltags |
mixed
|
Either a single XMLElement, or an array of XMLElement objects. |