Home Forums SQL Server 7,2000 T-SQL The error description is 'XML document must have a top level element.'. RE: The error description is 'XML document must have a top level element.'.

  • Add top level element around your XML:

    {MyXMLDoc}

    ... your XML here

    {/MyXMLDoc}

    Sorry, I had to replace proper tag brackets with {} because otherwise site does not display it.

    _____________
    Code for TallyGenerator