Chapter 5: XML Mappings

The for xml clause in select statements maps 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 the for xml clause.

NoteWhen 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.