xslt-processor 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dom/functions.d.ts +3 -3
  2. package/dom/functions.js.map +1 -1
  3. package/dom/util.d.ts +4 -0
  4. package/dom/util.js +4 -1
  5. package/dom/util.js.map +1 -1
  6. package/package.json +1 -1
  7. package/umd/dom/functions.d.ts +3 -3
  8. package/umd/dom/util.d.ts +4 -0
  9. package/umd/xpath/expressions/binary-expr.d.ts +1 -1
  10. package/umd/xpath/expressions/function-call-expr.d.ts +1 -1
  11. package/umd/xpath/expressions/location-expr.d.ts +1 -1
  12. package/umd/xpath/expressions/step-expr.d.ts +1 -1
  13. package/umd/xpath/functions/non-standard.d.ts +1 -1
  14. package/umd/xpath/functions/standard.d.ts +7 -1
  15. package/umd/xpath/grammar-rule-candidate.d.ts +8 -0
  16. package/umd/xpath/index.d.ts +2 -8
  17. package/umd/xpath/node-tests/index.d.ts +8 -0
  18. package/umd/xpath/node-tests/node-test-any.d.ts +6 -0
  19. package/umd/xpath/node-tests/node-test-comment.d.ts +6 -0
  20. package/umd/xpath/node-tests/node-test-element-or-attribute.d.ts +6 -0
  21. package/umd/xpath/node-tests/node-test-name.d.ts +10 -0
  22. package/umd/xpath/node-tests/node-test-nc.d.ts +9 -0
  23. package/umd/xpath/node-tests/node-test-pi.d.ts +8 -0
  24. package/umd/xpath/node-tests/node-test-text.d.ts +6 -0
  25. package/umd/xpath/node-tests/node-test.d.ts +5 -0
  26. package/umd/xpath/tokens.d.ts +36 -206
  27. package/umd/xpath/values/boolean-value.d.ts +2 -1
  28. package/umd/xpath/values/index.d.ts +1 -0
  29. package/umd/xpath/values/node-set-value.d.ts +2 -1
  30. package/umd/xpath/values/node-value.d.ts +7 -0
  31. package/umd/xpath/values/number-value.d.ts +2 -1
  32. package/umd/xpath/values/string-value.d.ts +2 -1
  33. package/umd/xpath/xpath-token-rule.d.ts +7 -0
  34. package/umd/xpath/xpath.d.ts +59 -17
  35. package/umd/{xpath → xslt}/expr-context.d.ts +10 -1
  36. package/umd/xslt/xslt-decimal-format-settings.d.ts +28 -0
  37. package/umd/xslt/xslt.d.ts +39 -30
  38. package/umd/xslt-processor.js +2 -2
  39. package/umd/xslt-processor.js.map +1 -1
  40. package/xpath/expressions/binary-expr.d.ts +1 -1
  41. package/xpath/expressions/function-call-expr.d.ts +1 -1
  42. package/xpath/expressions/function-call-expr.js +1 -0
  43. package/xpath/expressions/function-call-expr.js.map +1 -1
  44. package/xpath/expressions/location-expr.d.ts +1 -1
  45. package/xpath/expressions/location-expr.js +1 -1
  46. package/xpath/expressions/location-expr.js.map +1 -1
  47. package/xpath/expressions/step-expr.d.ts +1 -1
  48. package/xpath/expressions/step-expr.js +1 -1
  49. package/xpath/expressions/step-expr.js.map +1 -1
  50. package/xpath/functions/non-standard.d.ts +1 -1
  51. package/xpath/functions/standard.d.ts +7 -1
  52. package/xpath/functions/standard.js +93 -2
  53. package/xpath/functions/standard.js.map +1 -1
  54. package/xpath/grammar-rule-candidate.d.ts +8 -0
  55. package/xpath/grammar-rule-candidate.js +3 -0
  56. package/xpath/grammar-rule-candidate.js.map +1 -0
  57. package/xpath/index.d.ts +2 -8
  58. package/xpath/index.js +2 -8
  59. package/xpath/index.js.map +1 -1
  60. package/xpath/node-tests/index.d.ts +8 -0
  61. package/xpath/node-tests/index.js +18 -0
  62. package/xpath/node-tests/index.js.map +1 -0
  63. package/xpath/node-tests/node-test-any.d.ts +6 -0
  64. package/xpath/{node-test-any.js → node-tests/node-test-any.js} +1 -1
  65. package/xpath/node-tests/node-test-any.js.map +1 -0
  66. package/xpath/node-tests/node-test-comment.d.ts +6 -0
  67. package/xpath/{node-test-comment.js → node-tests/node-test-comment.js} +2 -2
  68. package/xpath/node-tests/node-test-comment.js.map +1 -0
  69. package/xpath/node-tests/node-test-element-or-attribute.d.ts +6 -0
  70. package/xpath/{node-test-element-or-attribute.js → node-tests/node-test-element-or-attribute.js} +2 -2
  71. package/xpath/node-tests/node-test-element-or-attribute.js.map +1 -0
  72. package/xpath/node-tests/node-test-name.d.ts +10 -0
  73. package/xpath/node-tests/node-test-name.js +39 -0
  74. package/xpath/node-tests/node-test-name.js.map +1 -0
  75. package/xpath/node-tests/node-test-nc.d.ts +9 -0
  76. package/xpath/{node-test-nc.js → node-tests/node-test-nc.js} +1 -1
  77. package/xpath/node-tests/node-test-nc.js.map +1 -0
  78. package/xpath/node-tests/node-test-pi.d.ts +8 -0
  79. package/xpath/{node-test-pi.js → node-tests/node-test-pi.js} +2 -2
  80. package/xpath/node-tests/node-test-pi.js.map +1 -0
  81. package/xpath/node-tests/node-test-text.d.ts +6 -0
  82. package/xpath/{node-test-text.js → node-tests/node-test-text.js} +2 -2
  83. package/xpath/node-tests/node-test-text.js.map +1 -0
  84. package/xpath/node-tests/node-test.d.ts +5 -0
  85. package/xpath/node-tests/node-test.js +3 -0
  86. package/xpath/node-tests/node-test.js.map +1 -0
  87. package/xpath/tokens.d.ts +36 -206
  88. package/xpath/tokens.js +2 -2
  89. package/xpath/tokens.js.map +1 -1
  90. package/xpath/values/boolean-value.d.ts +2 -1
  91. package/xpath/values/boolean-value.js.map +1 -1
  92. package/xpath/values/index.d.ts +1 -0
  93. package/xpath/values/index.js +25 -31
  94. package/xpath/values/index.js.map +1 -1
  95. package/xpath/values/node-set-value.d.ts +2 -1
  96. package/xpath/values/node-set-value.js.map +1 -1
  97. package/xpath/values/node-value.d.ts +7 -0
  98. package/xpath/values/node-value.js +3 -0
  99. package/xpath/values/node-value.js.map +1 -0
  100. package/xpath/values/number-value.d.ts +2 -1
  101. package/xpath/values/number-value.js.map +1 -1
  102. package/xpath/values/string-value.d.ts +2 -1
  103. package/xpath/values/string-value.js.map +1 -1
  104. package/xpath/xpath-token-rule.d.ts +7 -0
  105. package/xpath/xpath-token-rule.js +3 -0
  106. package/xpath/xpath-token-rule.js.map +1 -0
  107. package/xpath/xpath.d.ts +59 -17
  108. package/xpath/xpath.js +220 -214
  109. package/xpath/xpath.js.map +1 -1
  110. package/xpathdebug.js +15 -14
  111. package/xpathdebug.js.map +1 -1
  112. package/{xpath → xslt}/expr-context.d.ts +10 -1
  113. package/{xpath → xslt}/expr-context.js +22 -9
  114. package/xslt/expr-context.js.map +1 -0
  115. package/xslt/xslt-decimal-format-settings.d.ts +28 -0
  116. package/xslt/xslt-decimal-format-settings.js +3 -0
  117. package/xslt/xslt-decimal-format-settings.js.map +1 -0
  118. package/xslt/xslt.d.ts +39 -30
  119. package/xslt/xslt.js +174 -113
  120. package/xslt/xslt.js.map +1 -1
  121. package/umd/xpath/node-test-any.d.ts +0 -5
  122. package/umd/xpath/node-test-comment.d.ts +0 -5
  123. package/umd/xpath/node-test-element-or-attribute.d.ts +0 -5
  124. package/umd/xpath/node-test-name.d.ts +0 -8
  125. package/umd/xpath/node-test-nc.d.ts +0 -8
  126. package/umd/xpath/node-test-pi.d.ts +0 -7
  127. package/umd/xpath/node-test-text.d.ts +0 -5
  128. package/xpath/expr-context.js.map +0 -1
  129. package/xpath/node-test-any.d.ts +0 -5
  130. package/xpath/node-test-any.js.map +0 -1
  131. package/xpath/node-test-comment.d.ts +0 -5
  132. package/xpath/node-test-comment.js.map +0 -1
  133. package/xpath/node-test-element-or-attribute.d.ts +0 -5
  134. package/xpath/node-test-element-or-attribute.js.map +0 -1
  135. package/xpath/node-test-name.d.ts +0 -8
  136. package/xpath/node-test-name.js +0 -22
  137. package/xpath/node-test-name.js.map +0 -1
  138. package/xpath/node-test-nc.d.ts +0 -8
  139. package/xpath/node-test-nc.js.map +0 -1
  140. package/xpath/node-test-pi.d.ts +0 -7
  141. package/xpath/node-test-pi.js.map +0 -1
  142. package/xpath/node-test-text.d.ts +0 -5
  143. package/xpath/node-test-text.js.map +0 -1
@@ -1,23 +1,23 @@
1
- import { ExprContext } from './expr-context';
1
+ import { ExprContext } from '../xslt/expr-context';
2
2
  import { BinaryExpr, FunctionCallExpr, LiteralExpr, LocationExpr, NumberExpr, PathExpr, PredicateExpr, StepExpr, TokenExpr, UnaryMinusExpr, UnionExpr, VariableExpr } from './expressions';
3
3
  import { Expression } from './expressions/expression';
4
- import { NodeTestAny } from './node-test-any';
5
- import { NodeTestComment } from './node-test-comment';
6
- import { NodeTestElementOrAttribute } from './node-test-element-or-attribute';
7
- import { NodeTestName } from './node-test-name';
8
- import { NodeTestNC } from './node-test-nc';
9
- import { NodeTestPI } from './node-test-pi';
10
- import { NodeTestText } from './node-test-text';
4
+ import { XPathTokenRule } from './xpath-token-rule';
5
+ import { XNode } from '../dom';
6
+ import { NodeTestAny, NodeTestElementOrAttribute, NodeTestNC, NodeTestName, NodeTestText, NodeTestComment, NodeTestPI } from './node-tests';
11
7
  export declare class XPath {
12
8
  xPathParseCache: any;
13
9
  xPathRules: any[];
10
+ xPathLog: (message: string) => void;
11
+ lexerCount: number;
12
+ parseCount: number;
13
+ reduceCount: number;
14
14
  xPathGrammarRules: ((number | {
15
15
  label: string;
16
16
  key: any;
17
- } | {
17
+ } | (XPathTokenRule | {
18
18
  label: string;
19
19
  key: any;
20
- }[] | ((rel: any, slash: any, step: any) => any))[] | (number | {
20
+ })[] | ((rel: any, slash: any, step: any) => any))[] | (number | {
21
21
  label: string;
22
22
  key: any;
23
23
  } | {
@@ -36,10 +36,10 @@ export declare class XPath {
36
36
  }[] | ((expr: any, predicates: any) => any))[] | (number | boolean | {
37
37
  label: string;
38
38
  key: any;
39
- } | {
39
+ } | (XPathTokenRule | {
40
40
  label: string;
41
41
  key: any;
42
- }[] | ((expr1: any, op: any, expr2: any) => BinaryExpr))[])[];
42
+ })[] | ((expr1: any, op: any, expr2: any) => BinaryExpr))[])[];
43
43
  constructor();
44
44
  makeTokenExpr(m: any): TokenExpr;
45
45
  passExpr(e: any): any;
@@ -101,20 +101,62 @@ export declare class XPath {
101
101
  */
102
102
  xPathExtractTagNameFromNodeTest(nodeTest: any, ignoreNonElementNodesForNTA: any): string;
103
103
  xPathMatchStack(stack: any, pattern: any): any;
104
+ /**
105
+ * Finds the best rule for the XPath expression provided.
106
+ * @param expression The XPath string expression.
107
+ * @param previous The previous matched XPath rule.
108
+ * @returns The found rule and the corresponding match.
109
+ */
110
+ private findXPathRuleForExpression;
111
+ /**
112
+ * Initialization for `xPathParse`.
113
+ * @see xPathParse
114
+ */
115
+ private xPathParseInit;
104
116
  /**
105
117
  * The entry point for the parser.
106
118
  * @param expression a string that contains an XPath expression.
107
119
  * @param axis The XPath axis. Used when the match does not start with the parent.
108
- * @param xPathLog TODO
109
120
  * @returns an expression object that can be evaluated with an
110
121
  * expression context.
111
122
  */
112
- xPathParse(expression: string, axis?: string, xPathLog?: (message: string) => void): any;
113
- xPathParseInit(xPathLog: Function): void;
114
- xPathReduce(stack: any, ahead: any, axis?: string, xpathLog?: (message: string) => void): any;
123
+ xPathParse(expression: string, axis?: string): any;
124
+ private findGrammarRuleCandidate;
125
+ /**
126
+ * DGF xPathReduce is where the magic happens in this parser.
127
+ * Check `src\xpath\xpath-grammar-rules.ts` to find the table of
128
+ * grammatical rules and precedence numbers, "The productions of the grammar".
129
+ *
130
+ * The idea here is that we want to take a stack of tokens and apply
131
+ * grammatical rules to them, "reducing" them to higher-level
132
+ * tokens. Ultimately, any valid XPath should reduce to exactly one
133
+ * "Expr" token.
134
+
135
+ * Reduce too early or too late and you'll have two tokens that can't reduce
136
+ * to single Expr. For example, you may hastily reduce a qname that
137
+ * should name a function, incorrectly treating it as a tag name.
138
+ * Or you may reduce too late, accidentally reducing the last part of the
139
+ * XPath into a top-level "Expr" that won't reduce with earlier parts of
140
+ * the XPath.
141
+ *
142
+ * A "candidate" is a grammatical rule candidate, with a given precedence
143
+ * number. "ahead" is the upcoming token, which also has a precedence
144
+ * number. If the token has a higher precedence number than
145
+ * the rule candidate, we'll "shift" the token onto the token stack,
146
+ * instead of immediately applying the rule candidate.
147
+ *
148
+ * Some tokens have left associativity, in which case we shift when they
149
+ * have LOWER precedence than the candidate.
150
+ */
151
+ private xPathReduce;
152
+ /**
153
+ * Utility function to sort a list of nodes. Used by xsltSort().
154
+ * @param context The Expression Context.
155
+ * @param sort TODO
156
+ */
115
157
  xPathSort(context: ExprContext, sort: any[]): void;
116
158
  xPathSortByKey(v1: any, v2: any): number;
117
- xPathStep(nodes: any[], steps: any[], step: any, input: any, context: ExprContext): void;
159
+ xPathStep(nodes: any[], steps: any[], step: any, input: XNode, context: ExprContext): void;
118
160
  xPathGrammarPrecedence(frame: any): number;
119
161
  xPathTokenPrecedence(tag: any): any;
120
162
  }
@@ -1,4 +1,5 @@
1
1
  import { XNode } from '../dom';
2
+ import { XsltDecimalFormatSettings } from './xslt-decimal-format-settings';
2
3
  /** XPath expression evaluation context. An XPath context consists of a
3
4
  * DOM node, a list of DOM nodes that contains this node, a number
4
5
  * that represents the position of the single node in the list, and a
@@ -41,12 +42,16 @@ export declare class ExprContext {
41
42
  variables: {
42
43
  [name: string]: any;
43
44
  };
45
+ knownNamespaces: {
46
+ [alias: string]: string;
47
+ };
44
48
  caseInsensitive: any;
45
49
  ignoreAttributesWithoutValue: any;
46
50
  returnOnFirstMatch: any;
47
51
  ignoreNonElementNodesForNTA: any;
48
52
  parent: ExprContext;
49
53
  root: XNode;
54
+ decimalFormatSettings: XsltDecimalFormatSettings;
50
55
  inApplyTemplates: boolean;
51
56
  baseTemplateMatched: boolean;
52
57
  /**
@@ -70,7 +75,11 @@ export declare class ExprContext {
70
75
  * @param opt_returnOnFirstMatch TODO
71
76
  * @param opt_ignoreNonElementNodesForNTA TODO
72
77
  */
73
- constructor(nodeList: XNode[], outputNodeList: XNode[], opt_position?: number, opt_outputPosition?: number, opt_outputDepth?: number, opt_parent?: ExprContext, opt_caseInsensitive?: any, opt_ignoreAttributesWithoutValue?: any, opt_returnOnFirstMatch?: any, opt_ignoreNonElementNodesForNTA?: any);
78
+ constructor(nodeList: XNode[], outputNodeList: XNode[], opt_position?: number, opt_outputPosition?: number, opt_outputDepth?: number, opt_decimalFormatSettings?: XsltDecimalFormatSettings, opt_variables?: {
79
+ [name: string]: any;
80
+ }, opt_knownNamespaces?: {
81
+ [alias: string]: string;
82
+ }, opt_parent?: ExprContext, opt_caseInsensitive?: any, opt_ignoreAttributesWithoutValue?: any, opt_returnOnFirstMatch?: any, opt_ignoreNonElementNodesForNTA?: any);
74
83
  /**
75
84
  * clone() -- creates a new context with the current context as
76
85
  * parent. If passed as argument to clone(), the new context has a
@@ -0,0 +1,28 @@
1
+ /**
2
+ * According to https://www.w3schools.com/xml/ref_xsl_el_decimal-format.asp:
3
+ *
4
+ * @property {string} name: Optional. Specifies a name for this format.
5
+ * @property {string} decimalSeparator: Optional. Specifies the decimal point character. Default is ".".
6
+ * @property {string} groupingSeparator: Optional. Specifies the thousands separator character. Default is ",".
7
+ * @property {string} infinity: Optional. Specifies the string used to represent infinity. Default is "Infinity".
8
+ * @property {string} minusSign: Optional. Specifies the character to represent negative numbers. Default is "-".
9
+ * @property {string} naN: Optional. Specifies the string used when the value is not a number". Default is "NaN".
10
+ * @property {string} percent: Optional. Specifies the percentage sign character. Default is "%".
11
+ * @property {string} perMille: Optional. Specifies the per thousand sign character. Default is "‰".
12
+ * @property {string} zeroDigit: Optional. Specifies the digit zero character. Default is "0".
13
+ * @property {string} digit: Optional. Specifies the character used to indicate a place where a digit is required. Default is #.
14
+ * @property {string} patternSeparator: Optional. Specifies the character used to separate positive and negative subpatterns in a format pattern. Default is ";".
15
+ */
16
+ export type XsltDecimalFormatSettings = {
17
+ name?: string;
18
+ decimalSeparator: string;
19
+ groupingSeparator: string;
20
+ infinity: string;
21
+ minusSign: string;
22
+ naN: string;
23
+ percent: string;
24
+ perMille: string;
25
+ zeroDigit: string;
26
+ digit: string;
27
+ patternSeparator: string;
28
+ };
@@ -1,6 +1,7 @@
1
1
  import { XDocument, XNode } from '../dom';
2
2
  import { ExprContext, XPath } from '../xpath';
3
3
  import { XsltOptions } from './xslt-options';
4
+ import { XsltDecimalFormatSettings } from './xslt-decimal-format-settings';
4
5
  /**
5
6
  * The main class for XSL-T processing. The implementation is NOT
6
7
  * complete; some xsl element are left out.
@@ -28,9 +29,11 @@ import { XsltOptions } from './xslt-options';
28
29
  export declare class Xslt {
29
30
  xPath: XPath;
30
31
  options: XsltOptions;
32
+ decimalFormatSettings: XsltDecimalFormatSettings;
31
33
  outputDocument: XDocument;
32
34
  outputMethod: string;
33
35
  outputOmitXmlDeclaration: string;
36
+ version: string;
34
37
  constructor(options?: Partial<XsltOptions>);
35
38
  /**
36
39
  * The exported entry point of the XSL-T processor.
@@ -46,14 +49,37 @@ export declare class Xslt {
46
49
  * @param output the root of the generated output, as DOM node.
47
50
  */
48
51
  protected xsltProcessContext(context: ExprContext, template: XNode, output: XNode): void;
52
+ /**
53
+ * Implements xsl:choose and its child nodes xsl:when and
54
+ * xsl:otherwise.
55
+ * @param input The Expression Context.
56
+ * @param template The template.
57
+ * @param output The output.
58
+ */
59
+ protected xsltChoose(input: ExprContext, template: any, output: any): void;
49
60
  /**
50
61
  * Implements `xsl:copy` for all node types.
51
- * @param {XNode} destination the node being copied to, part of output document
52
- * @param {XNode} source the node being copied, part in input document
53
- * @param {XDocument} destinationDocument dstDocument
54
- * @returns {XNode|null} If an element node was created, the element node. Otherwise null.
62
+ * @param {XNode} destination the node being copied to, part of output document.
63
+ * @param {XNode} source the node being copied, part in input document.
64
+ * @returns {XNode|null} If an element node was created, the element node. Otherwise, null.
65
+ */
66
+ protected xsltCopy(destination: XNode, source: XNode): XNode;
67
+ /**
68
+ * Implements `xsl:copy-of` for node-set values of the select
69
+ * expression. Recurses down the source node tree, which is part of
70
+ * the input document.
71
+ * @param {XNode} dst the node being copied to, part of output document.
72
+ * @param {XNode} src the node being copied, part in input document.
55
73
  */
56
- protected xsltCopy(destination: any, source: any, destinationDocument: any): XNode;
74
+ protected xsltCopyOf(dst: XNode, src: XNode): void;
75
+ /**
76
+ * Implements `xsl:for-each`.
77
+ * @param input The Expression Context.
78
+ * @param template The template.
79
+ * @param output The output.
80
+ */
81
+ protected xsltForEach(context: ExprContext, template: XNode, output: XNode): void;
82
+ protected groupBy(xs: any, key: any): any;
57
83
  /**
58
84
  * Orders the current node list in the input context according to the
59
85
  * sort order specified by xsl:sort child nodes of the current
@@ -64,6 +90,14 @@ export declare class Xslt {
64
90
  * @todo case-order is not implemented.
65
91
  */
66
92
  protected xsltSort(context: ExprContext, template: XNode): void;
93
+ /**
94
+ * Implements `<xsl:stylesheet>` and `<xsl:transform>`, and its corresponding
95
+ * validations.
96
+ * @param template The `<xsl:stylesheet>` or `<xsl:transform>` node.
97
+ * @param context The Expression Context.
98
+ * @param output The output XML.
99
+ */
100
+ protected xsltTransformOrStylesheet(template: XNode, context: ExprContext, output: XNode): void;
67
101
  /**
68
102
  * Evaluates a variable or parameter and set it in the current input
69
103
  * context. Implements `xsl:variable`, `xsl:param`, and `xsl:with-param`.
@@ -76,22 +110,6 @@ export declare class Xslt {
76
110
  * value. `xsl:variable` and `xsl:with-param` override; `xsl:param` doesn't.
77
111
  */
78
112
  protected xsltVariable(input: ExprContext, template: any, override: boolean): void;
79
- /**
80
- * Implements xsl:choose and its child nodes xsl:when and
81
- * xsl:otherwise.
82
- * @param input The Expression Context.
83
- * @param template The template.
84
- * @param output The output.
85
- */
86
- protected xsltChoose(input: ExprContext, template: any, output: any): void;
87
- /**
88
- * Implements `xsl:for-each`.
89
- * @param input The Expression Context.
90
- * @param template The template.
91
- * @param output The output.
92
- */
93
- protected xsltForEach(context: ExprContext, template: XNode, output: XNode): void;
94
- protected groupBy(xs: any, key: any): any;
95
113
  /**
96
114
  * Traverses the template node tree. Calls the main processing
97
115
  * function with the current input context for every child node of the
@@ -131,15 +149,6 @@ export declare class Xslt {
131
149
  * @returns TODO
132
150
  */
133
151
  protected xsltAttributeValue(value: any, context: ExprContext): any;
134
- /**
135
- * Implements xsl:copy-of for node-set values of the select
136
- * expression. Recurses down the source node tree, which is part of
137
- * the input document.
138
- * @param {XNode} dst the node being copied to, part of output document
139
- * @param {XNode} src the node being copied, part in input document
140
- * @param {XDocument} dstDocument dstDocument
141
- */
142
- protected xsltCopyOf(dst: any, src: any, dstDocument: any): void;
143
152
  /**
144
153
  * Evaluates an XPath expression in the current input context as a
145
154
  * match.