Saxonica.com

The Saxon SQL Extension

The Saxon distribution includes a set of extension elements providing access to SQL databases. These are not intended as being necessarily a production-quality piece of software (there are many limitations in the design), but more as an illustration of how extension elements can be used to enhance the capability of the processor.

To use the SQL extension elements in a stylesheet, you need to define a namespace prefix (for example "sql") in the extension-element-prefixes attribute of the xsl:stylesheet element, and to map this prefix to namespace URI that ends in "/net.sf.saxon.sql.SQLElementFactory".

This extension defines seven new stylesheet elements: sql:connect, sql:query, sql:insert, sql:column, sql:update, sql:delete, and sql:close, described in the following sections.

Note: this extension is not available on the .NET platform.

Next