xslt-processor 2.1.3 → 2.1.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.
- package/package.json +1 -1
- package/umd/xslt/xslt.d.ts +10 -10
- package/umd/xslt-processor.js +1 -1
- package/umd/xslt-processor.js.map +1 -1
- package/xslt/xslt.d.ts +10 -10
- package/xslt/xslt.js +28 -25
- package/xslt/xslt.js.map +1 -1
package/package.json
CHANGED
package/umd/xslt/xslt.d.ts
CHANGED
|
@@ -52,13 +52,13 @@ export declare class Xslt {
|
|
|
52
52
|
*/
|
|
53
53
|
protected xsltProcessContext(context: ExprContext, template: XNode, output?: XNode): void;
|
|
54
54
|
/**
|
|
55
|
-
* Implements xsl:choose
|
|
56
|
-
* xsl:otherwise
|
|
57
|
-
* @param
|
|
55
|
+
* Implements `xsl:choose`, its child nodes `xsl:when`, and
|
|
56
|
+
* `xsl:otherwise`.
|
|
57
|
+
* @param context The Expression Context.
|
|
58
58
|
* @param template The template.
|
|
59
59
|
* @param output The output.
|
|
60
60
|
*/
|
|
61
|
-
protected xsltChoose(
|
|
61
|
+
protected xsltChoose(context: ExprContext, template: XNode, output: any): void;
|
|
62
62
|
/**
|
|
63
63
|
* Implements `xsl:copy` for all node types.
|
|
64
64
|
* @param {XNode} destination the node being copied to, part of output document.
|
|
@@ -103,14 +103,14 @@ export declare class Xslt {
|
|
|
103
103
|
* Evaluates a variable or parameter and set it in the current input
|
|
104
104
|
* context. Implements `xsl:variable`, `xsl:param`, and `xsl:with-param`.
|
|
105
105
|
*
|
|
106
|
-
* @param
|
|
107
|
-
* @param template
|
|
106
|
+
* @param context The expression context.
|
|
107
|
+
* @param template The template node.
|
|
108
108
|
* @param override flag that defines if the value computed here
|
|
109
109
|
* overrides the one already in the input context if that is the
|
|
110
110
|
* case. I.e. decides if this is a default value or a local
|
|
111
111
|
* value. `xsl:variable` and `xsl:with-param` override; `xsl:param` doesn't.
|
|
112
112
|
*/
|
|
113
|
-
protected xsltVariable(
|
|
113
|
+
protected xsltVariable(context: ExprContext, template: XNode, override: boolean): void;
|
|
114
114
|
/**
|
|
115
115
|
* Traverses the template node tree. Calls the main processing
|
|
116
116
|
* function with the current input context for every child node of the
|
|
@@ -174,9 +174,9 @@ export declare class Xslt {
|
|
|
174
174
|
* current template node, in the current input context. This happens
|
|
175
175
|
* before the operation specified by the current template node is
|
|
176
176
|
* executed.
|
|
177
|
-
* @param
|
|
178
|
-
* @param template
|
|
177
|
+
* @param context The Expression Context.
|
|
178
|
+
* @param template The template node.
|
|
179
179
|
*/
|
|
180
|
-
protected xsltWithParam(
|
|
180
|
+
protected xsltWithParam(context: ExprContext, template: XNode): void;
|
|
181
181
|
protected isXsltElement(element: any, opt_wantedName?: string): boolean;
|
|
182
182
|
}
|