net.sf.saxon.style

Class ExtensionInstruction

public abstract class ExtensionInstruction extends StyleElement

Abstract class representing an extension instruction
Method Summary
booleanisInstruction()
Determine whether this node is an instruction.
booleanmayContainFallback()
Determine whether this type of element is allowed to contain an xsl:fallback instruction.

Method Detail

isInstruction

public final boolean isInstruction()
Determine whether this node is an instruction.

Returns: true - it is an instruction

mayContainFallback

public final boolean mayContainFallback()
Determine whether this type of element is allowed to contain an xsl:fallback instruction. Note that this is only relevant if the element is an instruction.

Returns: true: this element (assuming it is an instruction) may contain an xsl:fallback child instruction, which is ignored if the element is recognized.