net.sf.saxon.style

Class SaxonImportQuery

public class SaxonImportQuery extends StyleElement

The class implements a saxon:import-query declaration in a stylesheet. This declaration imports an XQuery library module and adds the functions defined in that module to the static context, making them available for calling from XPath expressions in the stylesheet.
Method Summary
Expressioncompile(Executable exec)
voidimportModule()
The importModule() method is called very early, before preparing the attributes, to make sure that all functions in the imported modules are available in the static context.
voidprepareAttributes()
voidvalidate()

Method Detail

compile

public Expression compile(Executable exec)

importModule

public void importModule()
The importModule() method is called very early, before preparing the attributes, to make sure that all functions in the imported modules are available in the static context.

Throws: XPathException

prepareAttributes

public void prepareAttributes()

validate

public void validate()