net.sf.saxon.style
public abstract class XSLGeneralIncorporate extends StyleElement
| Field Summary | |
|---|---|
| String | href |
| DocumentImpl | includedDoc |
| Method Summary | |
|---|---|
| Expression | compile(Executable exec) |
| XSLStylesheet | getIncludedStylesheet(XSLStylesheet importer, int precedence)
Get the included or imported stylesheet module |
| abstract boolean | isImport()
isImport() returns true if this is an xsl:import declaration rather than an xsl:include |
| void | prepareAttributes() |
| void | validate() |
Parameters: importer the module that requested the include or export (used to check for cycles) precedence the import precedence to be allocated to the included or imported module
Returns: the xsl:stylesheet element at the root of the included/imported module
Throws: XPathException if any failure occurs
Returns: true if this is an xsl:import declaration, false if it is an xsl:include