xslt-processor 2.0.1 → 2.1.0
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.
- package/package.json +1 -1
- package/umd/xpath/expr-context.d.ts +4 -2
- package/umd/xpath/functions/standard-20.d.ts +4 -0
- package/umd/xpath/values/string-value.d.ts +1 -1
- package/umd/xslt-processor.js +1 -1
- package/umd/xslt-processor.js.map +1 -1
- package/xpath/expr-context.d.ts +4 -2
- package/xpath/expr-context.js +7 -4
- package/xpath/expr-context.js.map +1 -1
- package/xpath/expressions/function-call-expr.js +3 -0
- package/xpath/expressions/function-call-expr.js.map +1 -1
- package/xpath/functions/standard-20.d.ts +4 -0
- package/xpath/functions/standard-20.js +18 -0
- package/xpath/functions/standard-20.js.map +1 -0
- package/xpath/values/string-value.d.ts +1 -1
- package/xpath/values/string-value.js +1 -1
- package/xpath/values/string-value.js.map +1 -1
- package/xslt/xslt.js +1 -0
- package/xslt/xslt.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { XNode } from '../dom';
|
|
2
2
|
import { XsltDecimalFormatSettings } from '../xslt/xslt-decimal-format-settings';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* XPath expression evaluation context. An XPath context consists of a
|
|
4
5
|
* DOM node, a list of DOM nodes that contains this node, a number
|
|
5
6
|
* that represents the position of the single node in the list, and a
|
|
6
7
|
* current set of variable bindings. (See XPath spec.)
|
|
@@ -39,6 +40,7 @@ export declare class ExprContext {
|
|
|
39
40
|
outputPosition: number;
|
|
40
41
|
outputNodeList: XNode[];
|
|
41
42
|
outputDepth: number;
|
|
43
|
+
xsltVersion: '1.0' | '2.0' | '3.0';
|
|
42
44
|
variables: {
|
|
43
45
|
[name: string]: any;
|
|
44
46
|
};
|
|
@@ -75,7 +77,7 @@ export declare class ExprContext {
|
|
|
75
77
|
* @param opt_returnOnFirstMatch TODO
|
|
76
78
|
* @param opt_ignoreNonElementNodesForNTA TODO
|
|
77
79
|
*/
|
|
78
|
-
constructor(nodeList: XNode[], outputNodeList: XNode[], opt_position?: number, opt_outputPosition?: number, opt_outputDepth?: number, opt_decimalFormatSettings?: XsltDecimalFormatSettings, opt_variables?: {
|
|
80
|
+
constructor(nodeList: XNode[], outputNodeList: XNode[], xsltVersion?: '1.0' | '2.0' | '3.0', opt_position?: number, opt_outputPosition?: number, opt_outputDepth?: number, opt_decimalFormatSettings?: XsltDecimalFormatSettings, opt_variables?: {
|
|
79
81
|
[name: string]: any;
|
|
80
82
|
}, opt_knownNamespaces?: {
|
|
81
83
|
[alias: string]: string;
|