It should be allowed to build xml from DOMElements or arrays containing DOMElements