Witold
Databricks Partner

Then your example XML is invalid, as an XML file has only one root element. Meaning, Message can only be there once. If Message is your row, then there needs to be another root element, e.g:

<Messages>
<Message>
<Attribute>1</Attribute>
<Attribute>2</Attribute>
</Message>
</Messages>