ResultXml example

The method connects to the server, executes the query, retrieves the SQL result set, and constructs a ResultSetXml object with that result set.

For example:

xml.resultset.ResultSetXml  rsx = 
 	new xml.resultset.ResultSetXml
 	(“select 1 as ‘a’, 2 as ‘b’, 3 ”, “none”, “yes”,

This constructor call connects to the server specified in the last argument, evaluates the SQL query given in the first argument, and returns an XML ResultSet containing the data from the result set of the query.