Actually does the work of compiling the stylesheet's object model
into the template rules, actions, variable definitions, etc.
The constructor compiles the stylesheet, the method "process()"
runs the transformation
ATTRIBUTE
(package private) Name ATTRIBUTE
CASE_ORDER
(package private) Name CASE_ORDER
CDATA_SECTION_ELEMENTS
(package private) Name CDATA_SECTION_ELEMENTS
COUNT
(package private) Name COUNT
DATA_TYPE
(package private) Name DATA_TYPE
DEFAULT
(package private) Name DEFAULT
DISABLE_OUTPUT_ESCAPING
(package private) Name DISABLE_OUTPUT_ESCAPING
ELEMENTS
(package private) Name ELEMENTS
EXCLUDE_RESULT_PREFIXES
(package private) Name EXCLUDE_RESULT_PREFIXES
FORMAT
(package private) Name FORMAT
FROM
(package private) Name FROM
GROUPING_SEPARATOR
(package private) Name GROUPING_SEPARATOR
GROUPING_SIZE
(package private) Name GROUPING_SIZE
HREF
(package private) Name HREF
LANG
(package private) Name LANG
LETTER_VALUE
(package private) Name LETTER_VALUE
LEVEL
(package private) Name LEVEL
MATCH
(package private) Name MATCH
METHOD
(package private) Name METHOD
MODE
(package private) Name MODE
NAME
(package private) Name NAME
NAMESPACE
(package private) Name NAMESPACE
ORDER
(package private) Name ORDER
PRIORITY
(package private) Name PRIORITY
RESULT_PREFIX
(package private) Name RESULT_PREFIX
SELECT
(package private) Name SELECT
STYLESHEET_PREFIX
(package private) Name STYLESHEET_PREFIX
TERMINATE
(package private) Name TERMINATE
TEST
(package private) Name TEST
USE
(package private) Name USE
USE_ATTRIBUTE_SETS
(package private) Name USE_ATTRIBUTE_SETS
VALUE
(package private) Name VALUE
XFYXT_NAMESPACE
(package private) static final String XFYXT_NAMESPACE
XSL_ATTRIBUTE
(package private) Name XSL_ATTRIBUTE
XSL_FALLBACK
(package private) Name XSL_FALLBACK
XSL_FOR_EACH
(package private) Name XSL_FOR_EACH
XSL_NAMESPACE
(package private) static final String XSL_NAMESPACE
XSL_OTHERWISE
(package private) Name XSL_OTHERWISE
XSL_SORT
(package private) Name XSL_SORT
XSL_STYLESHEET
(package private) Name XSL_STYLESHEET
XSL_TRANSFORM
(package private) Name XSL_TRANSFORM
XSL_USE_ATTRIBUTE_SETS
(package private) Name XSL_USE_ATTRIBUTE_SETS
XSL_VENDOR
(package private) Name XSL_VENDOR
XSL_VENDOR_URL
(package private) Name XSL_VENDOR_URL
XSL_VERSION
(package private) Name XSL_VERSION
XSL_WHEN
(package private) Name XSL_WHEN
XSL_WITH_PARAM
(package private) Name XSL_WITH_PARAM
XT_NAMESPACE
(package private) static final String XT_NAMESPACE
childrenExpr
(package private) static NodeSetExpr childrenExpr
currentImportance
(package private) Importance currentImportance
currentLocalVariables
(package private) VariableSet currentLocalVariables
emptyStringVariant
(package private) static StringVariant emptyStringVariant
excludedNamespaces
(package private) Vector excludedNamespaces
firstImportImportance
(package private) Importance firstImportImportance
nCurrentLocalVariables
(package private) int nCurrentLocalVariables
nameTable
(package private) NameTable nameTable
outputMethod
(package private) com.jclark.xsl.tr.SheetImpl.OutputMethodImpl outputMethod
sheetLoadContext
(package private) LoadContext sheetLoadContext
expandSourceElementTypeName
(package private) static Name expandSourceElementTypeName(String nameString,
Node node)
throws XSLException
getOptionalAttribute
(package private) String getOptionalAttribute(Node node,
Name name,
String dflt)
getPrefixNamespace
(package private) String getPrefixNamespace(Node node,
String prefix)
throws XSLException
- the namespace URI reference for the given prefix
in scope at the given Node
getRequiredAttribute
(package private) String getRequiredAttribute(Node node,
Name name)
throws XSLException
getVariantExpr
(package private) VariantExpr getVariantExpr(Node defNode)
throws XSLException
gets the value for a variable or parameter
parseAttributesAndActions
(package private) Action parseAttributesAndActions(Node node)
throws XSLException
Parse the attributes on node as literal attributes and then
parse the actions.
parseTopLevel
(package private) void parseTopLevel(Node sheetNode)
throws XSLException,
IOException
come here if we have a "stylesheet" root element
expect XSLT elements permitted at the top level ... params,
templates, keys, etc.
parseUseAttributeSetsAndActions
(package private) Action parseUseAttributeSetsAndActions(Node node)
throws XSLException
process
public Result process(Node node,
XMLProcessor omBuilder,
ParameterSet params,
Result root)
throws XSLException
process an XML input document against this stylesheet
- process in interface Sheet
node
- the source documentomBuilder
- an object model builder we can (re-)use for e.g. "document()"params
- the XSLT run-time parametersroot
- the destination for thetransformation results