array to XML complex test