net.sf.saxon.style

Class XSLStringConstructor

public abstract class XSLStringConstructor extends StyleElement

Common superclass for XSLT elements whose content template produces a text value: xsl:attribute, xsl:comment, and xsl:processing-instruction
Field Summary
protected Expressionselect
Method Summary
protected voidcompileContent(Executable exec, SimpleNodeConstructor inst, Expression separator)
booleanisInstruction()
Determine whether this node is an instruction.
booleanmayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a template-body
voidvalidate()

Field Detail

select

protected Expression select

Method Detail

compileContent

protected void compileContent(Executable exec, SimpleNodeConstructor inst, Expression separator)

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

validate

public void validate()