com.icl.saxon.style

Class LiteralResultElement

public class LiteralResultElement extends StyleElement

This class represents a literal result element in the style sheet (typically an HTML element to be output).
It is also used to represent unknown top-level elements, which are ignored.
Method Summary
DocumentImplmakeStyleSheet(PreparedStyleSheet pss)
Make a top-level literal result element into a stylesheet.
booleanmayContainTemplateBody()
Determine whether this type of element is allowed to contain a template-body
voidprepareAttributes()
Process the attribute list
voidprocess(Context context)
Process the literal result element by copying it to the result tree
voidvalidate()
Validate that this node is OK
protected voidvalidateChildren()

Method Detail

makeStyleSheet

public DocumentImpl makeStyleSheet(PreparedStyleSheet pss)
Make a top-level literal result element into a stylesheet. This implements the "Literal Result Element As Stylesheet" facility.

mayContainTemplateBody

public boolean mayContainTemplateBody()
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()
Process the attribute list

process

public void process(Context context)
Process the literal result element by copying it to the result tree

validate

public void validate()
Validate that this node is OK

validateChildren

protected void validateChildren()