Well-formed XML must have a Single root element. Following is well-formed XML:
<Header>
Some text
</Header>
It is well-formed because Header
is root element there. However, following is not well-formed:
<Header>
Some text
</Header>
<Rectangles>
Some other text
</Rectangles>
To correct it, you got to put it in some root element.
<myRoot>
<Header>
Some text
</Header>
<Rectangles>
Some other text
</Rectangles>
</myRoot>