diff xslt/preprocess.xsl @ 4:d240adc2ac70

sync
author cin
date Thu, 01 Mar 2018 16:53:23 +0300
parents 035de8b7b18e
children
line wrap: on
line diff
--- a/xslt/preprocess.xsl	Wed Feb 28 02:10:29 2018 +0300
+++ b/xslt/preprocess.xsl	Thu Mar 01 16:53:23 2018 +0300
@@ -3,6 +3,7 @@
 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 	xmlns:m="http://implab.org/schemas/data-model.v1.xsd"
 	xmlns:exsl="http://exslt.org/common"
+	xmlns:msxsl="urn:schemas-microsoft-com:xslt"
 	xmlns:t="http://implab.org/schemas/temp"
 >
 	<!--
@@ -13,6 +14,13 @@
 	which is the result of applying templates in mode=preprocess  
 	-->
 	<xsl:output method="xml" indent="yes" />
+	
+	<msxsl:script language="JScript" implements-prefix="exsl">
+		this['node-set'] =  function (x) {
+			return x;
+		}
+	</msxsl:script>
+	
 	<xsl:variable name="preprocessResult">
 		<t:module>
 			<xsl:call-template name="preprocess" />