Extension Instructions

Instruction

Effect

ixsl:set‑attribute

Sets an attribute or psuedo attribute with a given name and value in the HTML page for the current node. The current node must be an element in the HTML page. The instruction has attributes name, namespace, and select, and works in exactly the same way as xsl:attribute, except that the attribute is written directly to the current element. Like xsl:result-document, the writing of the attribute is delayed until the end of the transformation phase. The instruction also follows the same restrictions as xsl:result-document in that it should not be used while evaluating a variable or a function.

ixsl:set‑property

Sets the value of properties for client objects that are not part of the DOM. The instruction has attributes name, object, and select. The name attribute is either a property name or a dot (character '.') separated list of names. The object attribute is the object the property belong to — when no object attribute is present, the window object is used. The select attribute provides the new property value.

ixsl:remove‑attribute

Removes the attribute with the given name argument at the current element node. The optional namespace argument is used to specify the namespace of the attribute to be removed. A typical use for this is to enable a disabled HTML element by removing the disabled attribute (setting the value has no effect).

ixsl:schedule‑action

Makes an asynchronous call to the template named in an xsl:call-template instruction that is the only permitted body content of ixsl:schedule-action. The wait attribute of ixsl:schedule-action is an integer used to specify the delay in miliseconds before the call is invoked. See the Animation section for further detail.