net.sf.saxon.style

Class XSLValueOf

public final class XSLValueOf extends XSLStringConstructor

An xsl:value-of element in the stylesheet.
The xsl:value-of element takes attributes:
Method Summary
Expressioncompile(Executable exec)
protected StringgetErrorCodeForSelectPlusContent()
Get the error code to be returned when the element has a select attribute but is not empty.
protected ItemTypegetReturnedItemType()
Determine the type of item returned by this instruction (only relevant if it is an instruction).
voidprepareAttributes()
voidvalidate()

Method Detail

compile

public Expression compile(Executable exec)

getErrorCodeForSelectPlusContent

protected String getErrorCodeForSelectPlusContent()
Get the error code to be returned when the element has a select attribute but is not empty.

Returns: the error code defined for this condition, for this particular instruction

getReturnedItemType

protected ItemType getReturnedItemType()
Determine the type of item returned by this instruction (only relevant if it is an instruction).

Returns: the item type returned

prepareAttributes

public void prepareAttributes()

validate

public void validate()