com.icl.saxon.style
Keywords: com.icl.saxon.style package

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package com.icl.saxon.style

This package provides classes for the various elements found in an XSL style sheet.

See:
Description

Interface Summary
ExtensionElementFactory | Interface ExtensionElementFactory.

Class Summary
AbsentExtensionElement | This element is a surrogate for an extension element (or indeed an xsl element) for which no implementation is available.
ExpressionContext | An ExpressionContext represents the context for an XPath expression written in the stylesheet.
GroupActivation | GroupActivation represents one activation of a saxon:group loop.
LiteralResultElement | This class represents a literal result element in the style sheet (typically an HTML element to be output).
Procedure | A procedure represents a top-level element that can contain local variable declarations.
SAXONAssign | saxon:assign element in stylesheet. The saxon:assign element has mandatory attribute name and optional attribute expr.
SAXONDoctype | A saxon:doctype element in the stylesheet.
SAXONEntityRef | A saxon:entity-ref element in the stylesheet.
SAXONFunction | Handler for saxon:function and exslt:function elements in stylesheet.
SAXONGroup | Handler for saxon:group elements in stylesheet.
SAXONHandler | A saxon:handler element in the style sheet: defines a Java nodehandler that can be used to process a node in place of an XSLT template
SAXONItem | A saxon:item element in the stylesheet.
SAXONPreview | Handler for saxon:preview elements in stylesheet.
SAXONReturn | Handler for saxon:return or exslt:result elements in stylesheet. The element has optional attribute select
SAXONWhile | Handler for saxon:while elements in stylesheet. The saxon:while element has a mandatory attribute test, a boolean expression.
StandardNames |
StyleElement | Abstract superclass for all element nodes in the stylesheet.
StyleNodeFactory | Class StyleNodeFactory.
XSLApplyImports | An xsl:apply-imports element in the stylesheet
XSLApplyTemplates | An xsl:apply-templates element in the stylesheet
XSLAttribute | xsl:attribute element in stylesheet.
XSLAttributeSet | An xsl:attribute-set element in the stylesheet.
XSLCallTemplate | An xsl:call-template element in the stylesheet
XSLChoose | An xsl:choose elements in the stylesheet.
XSLComment | An xsl:comment elements in the stylesheet.
XSLCopy | Handler for xsl:copy elements in stylesheet.
XSLCopyOf | An xsl:copy-of element in the stylesheet. The xsl:copy-of element takes: an optional attribute select="pattern", defaulting to "." (the current element).
XSLDecimalFormat | Handler for xsl:decimal-format elements in stylesheet.
XSLDocument | An xsl:document (formerly saxon:output) element in the stylesheet.
XSLElement | An xsl:element element in the stylesheet.
XSLFallback | xsl:fallback element in stylesheet.
XSLForEach | Handler for xsl:for-each elements in stylesheet.
XSLGeneralIncorporate | Abstract class to represent xsl:include or xsl:import element in the stylesheet. The xsl:include and xsl:import elements have mandatory attribute href
XSLGeneralVariable | This class defines common behaviour across xsl:variable, xsl:param, and xsl:with-param
XSLIf | Handler for xsl:if elements in stylesheet. The xsl:if element has a mandatory attribute test, a boolean expression.
XSLImport | xsl:import element in the stylesheet.
XSLInclude | xsl:include element in the stylesheet.
XSLKey | Handler for xsl:key elements in stylesheet.
XSLMessage | An xsl:message element in the stylesheet.
XSLNamespaceAlias | An xsl:namespace-alias element in the stylesheet.
XSLNumber | An xsl:number element in the stylesheet.
XSLOtherwise | Handler for xsl:otherwise elements in stylesheet.
XSLOutput | An xsl:output element in the stylesheet.
XSLParam | An xsl:param elements in the stylesheet. The xsl:param element has mandatory attribute name and optional attribute select
XSLPreserveSpace | An xsl:preserve-space or xsl:strip-space elements in stylesheet.
XSLProcessingInstruction | An xsl:processing-instruction element in the stylesheet.
XSLScript | An xsl:script element in the stylesheet.
XSLSort | An xsl:sort element in the stylesheet.
XSLStringConstructor | Common superclass for XSLT elements whose content template produces a text value: xsl:attribute, xsl:comment, and xsl:processing-instruction
XSLStyleSheet | An xsl:stylesheet or xsl:transform element in the stylesheet. Note this element represents a stylesheet module, not necessarily the whole stylesheet.
XSLTemplate | An xsl:template element in the style sheet.
XSLText | Handler for xsl:text elements in stylesheet.
XSLValueOf | An xsl:value-of element in the stylesheet. The xsl:value-of element takes attributes: an mandatory attribute select="expression".
XSLVariable | Handler for xsl:variable elements in stylesheet. The xsl:variable element has mandatory attribute name and optional attribute select
XSLWhen | Handler for xsl:when elements in stylesheet. The xsl:while element has a mandatory attribute test, a boolean expression.
XSLWithParam | An xsl:with-param element in the stylesheet. The xsl:with-param element has mandatory attribute name and optional attribute select

Exception Summary
StyleException | StyleException is used to indicate a SAXException whose message already contains information identifying the location of the error.
TerminationException | An exception thrown by xsl:message terminate="yes".

## Package com.icl.saxon.style Description

This package provides classes for the various elements found in an XSL style sheet. These are invoked by the style sheet interpreter, com.icl.saxon.StyleSheet.

The stylesheet interpreter uses the Builder to build a tree representing the stylesheet, with custom classes used for each of its elements. These classes contain the functionality associated with processing each XSL element.

These classes are for internal use, and user-written applications will not need to refer to them directly, except when implementing extension elements. Extension elements must inherit from the class StyleElement.

Michael H. Kay
1 December 1999

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES