Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere Server - SQL Usage » Use of XML in the database » Use of SQL/XML to obtain query results as XML

 

Use of the XMLELEMENT function

The XMLELEMENT function constructs an XML element from relational data. You can specify the content of the generated element and if you want, you can also specify attributes and attribute content for the element.

 Generating nested elements
 Specifying element content
 Generating elements with attributes
 Example
 See also