com.icl.saxon.style

Class XSLDocument

public class XSLDocument extends XSLGeneralOutput

An xsl:document (formerly saxon:output) element in the stylesheet.
The xsl:document element takes an attribute href="filename". The filename will often contain parameters, e.g. {position()} to ensure that a different file is produced for each element instance.
There is a further attribute method=xml|html|text which determines the format of the output file (default XML). Alternatively the xsl:document element may take a next-in-chain attribute in which case output is directed to another stylesheet. Any unrecognized namespaced attributes are interepreted as attribute value templates, and their values are added to the output properties, for use by a user-defined Emitter.
Method Summary
booleanisInstruction()
Determine whether this node is an instruction.
booleanmayContainTemplateBody()
Determine whether this type of element is allowed to contain a template-body
voidprepareAttributes()
voidprocess(Context context)
voidvalidate()

Method Detail

isInstruction

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

Returns: true - it is an instruction

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

public void process(Context context)

validate

public void validate()