net.sf.saxon.style

Class XSLGeneralIncorporate

public abstract class XSLGeneralIncorporate extends StyleElement

Abstract class to represent xsl:include or xsl:import element in the stylesheet.
The xsl:include and xsl:import elements have mandatory attribute href
Field Summary
Stringhref
DocumentImplincludedDoc
Method Summary
Expressioncompile(Executable exec)
XSLStylesheetgetIncludedStylesheet(XSLStylesheet importer, int precedence)
abstract booleanisImport()
isImport() returns true if this is an xsl:import statement rather than an xsl:include
voidprepareAttributes()
voidvalidate()

Field Detail

href

String href

includedDoc

DocumentImpl includedDoc

Method Detail

compile

public Expression compile(Executable exec)

getIncludedStylesheet

public XSLStylesheet getIncludedStylesheet(XSLStylesheet importer, int precedence)

isImport

public abstract boolean isImport()
isImport() returns true if this is an xsl:import statement rather than an xsl:include

prepareAttributes

public void prepareAttributes()

validate

public void validate()