@ElementList supports an inline attribute, which causes SimpleXML to insert elements for the list items directly, without an enclosing element. In order to achieve the same for arrays, one has to first convert them to lists (and back from lists). It would be nice if @ElementArray offered inlining in the same way natively.