Docs for page XMLElement.php

## /XMLElement.php

Description

A class to assist with construction of XML documents

- author: Andrew McMillan <andrew@mcmillan.net.nz>
- copyright: Catalyst .Net Ltd, Morphoss Ltd <http://www.morphoss.com/>
- license: GNU LGPL version 3 or later

Classes

Class | Description
--- | ---
XMLElement | A class for XML elements which may have attributes, or contain other XML sub-elements

Includes
require_once ('AWLUtilities.php') (line 12)
Functions
BuildXMLTree (line 316)

Rebuild an XML tree in our own style from the parsed XML tags using a tail-recursive approach.

- return: Either a single XMLElement, or an array of XMLElement objects.

mixed BuildXMLTree (array $xmltags, intref &$start_from)

- array $xmltags: An array of XML tags we get from using the PHP XML parser
- intref &$start_from: A pointer to our current integer offset into $xmltags

Documentation generated on Fri, 13 Jan 2012 23:40:19 +1300 by phpDocumentor 1.4.3