net.sf.saxon.style

Class XSLFallback

public class XSLFallback extends StyleElement

xsl:fallback element in stylesheet.
Method Summary
Expressioncompile(Executable exec)
booleanisInstruction()
Determine whether this node is an instruction.
booleanmayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a template-body
voidprepareAttributes()
protected booleanseesAvuncularVariables()
Ask whether variables declared in an "uncle" element are visible.
voidvalidate()

Method Detail

compile

public Expression compile(Executable exec)

isInstruction

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

Returns: true - it is an instruction

mayContainSequenceConstructor

public boolean mayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a template-body

Returns: true: yes, it may contain a template-body

prepareAttributes

public void prepareAttributes()

seesAvuncularVariables

protected boolean seesAvuncularVariables()
Ask whether variables declared in an "uncle" element are visible.

Returns: true for all elements except xsl:fallback and saxon:catch

validate

public void validate()