sql:query
Performs a query, and writes the results of the query to the result tree, using
elements to represent the rows and columns. If you want to process the results in
the stylesheet, you can write the results to a temporary tree by using the
sql:query
instruction as a child of xsl:variable
.
Attributes
|
|
The database connection. The value is an expression, which must evaluate to a database connection object as returned by sql:connect. |
|
|
The table to be queried (the contents of the FROM clause of the select statement). |
|
|
The columns to be retrieved (the contents of the |
|
|
The conditions to be applied (the contents of the |
|
|
The element name to be used to contain each row. Must be a simple name (no
colon allowed); alternatively the value |
|
|
The element name to be used to contain each column. Must be a simple name
(no colon allowed); alternatively the value |
|
|
Default is |