The for xml clause in select statements and the forxmlj function map SQL result sets to SQLX-XML documents, using the SQLX-XML format defined by the ANSI SQLX standard. This chapter describes the SQLX-XML format and the options supported by both the for xml clause and the forxmlj function.
When you use isql to
generate an XML document with the for xml clause,
the documents you generate may be invalid, due to a leading blankspace
added as a column separator by isql.