net.sf.saxon.style

Class XSLComment

public final class XSLComment extends XSLStringConstructor

An xsl:comment elements in the stylesheet.
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.
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

prepareAttributes

public void prepareAttributes()

validate

public void validate()