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.
public boolean isInstruction()
Determine whether this node is an instruction.
Returns: true - it is an instruction
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
public void prepareAttributes()
public void process(
Context context)
public void validate()