Array to XML Using XDOMDocument