net.sf.saxon.option.sql

Class SQLUpdate

public class SQLUpdate extends ExtensionInstruction

An sql:update element in the stylesheet.

Author: Mathias Payer Michael Kay

For example:

   <sql:update connection="{$connection}" table="table-name" where="{$where}"
                 xsl:extension-element-prefixes="sql">
       <sql:column name="column-name" select="$new_value" />
   </sql:update>
 

Field Summary
Expressionconnection
Stringtable
Expressionwhere
Method Summary
Expressioncompile(Executable exec)
ListgetColumnInstructions(Executable exec)
voidprepareAttributes()
voidvalidate()

Field Detail

connection

Expression connection

table

String table

where

Expression where

Method Detail

compile

public Expression compile(Executable exec)

getColumnInstructions

public List getColumnInstructions(Executable exec)

prepareAttributes

public void prepareAttributes()

validate

public void validate()