Create elements from XArray in Document.