net.sf.saxon.trace
public class Location extends Object
Any constant used in StandardNames can be used as a Location. Such names are generally used to identify XSLT instructions. They are also used for equivalent constructs in XQuery, for example XSL_ELEMENT is used for a computed element constructor in XQuery. The constants in StandardNames are all in the range 0-1023, so constants defined in this class are outside this range.
The constants in this file are annotated with Q to indicate they can appear in XQuery trace output, T to indicate they can appear in XSLT trace output, and/or C to indicate that they can appear on the dynamic context stack.
Field Summary | |
---|---|
static int | BUILT_IN_TEMPLATE
An XSLT built-in template rule. |
static int | CASE_EXPRESSION
CASE clause within "typeswitch". |
static int | CONTROLLER
The outer system environment, identified as the caller of a user query or stylesheet.
|
static int | DEFAULT_EXPRESSION
DEFAULT clause within "typeswitch". |
static int | ELSE_EXPRESSION
An XPath or XQuery "else" clause. |
static int | EXTENSION_INSTRUCTION
An XSLT instruction. |
static int | FILTER_EXPRESSION
An XPath or XQuery filter expression. |
static int | FOR_EXPRESSION
An XPath or XQuery "for" clause. |
static int | FUNCTION
A function declaration in XSLT or XQuery |
static int | FUNCTION_CALL
An XPath function call to a user-defined function.
|
static int | GROUPING_KEY
A grouping key in XSLT. |
static int | IF_EXPRESSION
An XPath or XQuery "if" expression. |
static int | LAZY_EVALUATION
Lazy evaluation of an expression (this code is used to identify a context created as a saved
copy of an existing context, to be stored in a Closure). |
static int | LET_EXPRESSION
An XQuery "let" clause, or an XSLT local variable (which compiles into a LET clause).
|
static int | LITERAL_RESULT_ATTRIBUTE
An attribute of an XSLT literal result element or of an XQuery direct element constructor.
|
static int | LITERAL_RESULT_ELEMENT
An XSLT literal result element, or an XQuery direct element constructor. |
static int | ORDER_BY_CLAUSE
An order-by clause in a FLWOR expression. |
static int | PATH_EXPRESSION
An XPath or XQuery path expression. |
static int | PATTERN
An XSLT Pattern. |
static int | RETURN_EXPRESSION
An XPath or XQuery "return" clause. |
static int | SAXON_EVALUATE
An XPath expression constructed dynamically using saxon:evaluate (or saxon:expression).
|
static int | SAXON_HIGHER_ORDER_EXTENSION_FUNCTION
A higher-order extension function such as saxon:sum, saxon:highest. |
static int | SAXON_SERIALIZE
The saxon:serialize() extension function. |
static int | SORT_KEY
A sort key (or order-by key). |
static int | TEMPLATE
An XSLT user-written template rule or named template. |
static int | THEN_EXPRESSION
An XPath or XQuery "then" clause. |
static int | TRACE_CALL
An explicit call of the fn:trace() function. |
static int | TYPESWITCH_EXPRESSION
An XPath or XQuery "typeswitch" expression. |
static int | UNCLASSIFIED
Unclassified location. |
static int | VALIDATE_EXPRESSION
An XPath or XQuery "validate" expression. |
static int | WHERE_CLAUSE
A WHERE clause in a FLWOR expression. |
static int | XPATH_EXPRESSION
XPath expression, otherwise unclassified. |
static int | XPATH_IN_XSLT
Entry point to a top-level XPath expression within an XSLT stylesheet.
|