xslt-processor 3.1.0 → 3.2.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xslt-processor",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "A JavaScript XSLT Processor",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -37,6 +37,7 @@ export declare class Xslt {
37
37
  outputMethod: 'xml' | 'html' | 'text' | 'name';
38
38
  outputOmitXmlDeclaration: string;
39
39
  version: string;
40
+ firstTemplateRan: boolean;
40
41
  constructor(options?: Partial<XsltOptions>);
41
42
  /**
42
43
  * The exported entry point of the XSL-T processor.
@@ -132,6 +133,14 @@ export declare class Xslt {
132
133
  * @param output The output.
133
134
  */
134
135
  protected xsltIf(context: ExprContext, template: XNode, output?: XNode): Promise<void>;
136
+ /**
137
+ * Implements `<xsl:import>`. For now the code is nearly identical to `<xsl:include>`, but there's
138
+ * no precedence evaluation implemented yet.
139
+ * @param context The Expression Context.
140
+ * @param template The template.
141
+ * @param output The output.
142
+ */
143
+ protected xsltImport(context: ExprContext, template: XNode, output?: XNode): Promise<void>;
135
144
  /**
136
145
  * Implements `xsl:include`.
137
146
  * @param context The Expression Context.