Convert an array to a SimpleXML child of the passed tree.


Name Type Description
$data array array containing element value pairs, including other arrays, for XML contruction
$tree SimpleXMLElement A SimpleXMLElement class object used to attach new children

Return Value

SimpleXMLElement: full tree with new children mapped from array

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.