a.binder 8 лет назад
Родитель
Сommit
a5595202d4
1 измененных файлов с 52 добавлено и 0 удалено
  1. 52 0
      SE/schema/WPS_Functions/ant/p5ant.create_new_WPS_Function_xsl.xsl

+ 52 - 0
SE/schema/WPS_Functions/ant/p5ant.create_new_WPS_Function_xsl.xsl

@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
+    xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+    xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
+    exclude-result-prefixes="xs"
+    version="2.0">
+    
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+    
+    <xsl:param name="p5ant.WPS_Functions.PRODUCT.name.input" required="yes" />
+    <xsl:param name="p5ant.WPS_Functions.PRODUCT.prefix.input" required="yes"/>
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    <xsl:template match="template" mode="p5ant:create_new_WPS_Function.xsl" xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd" > 
+        <xsl:element name="xsl:stylesheet">
+            <xsl:namespace name="vc" select="'http://www.w3.org/2007/XMLSchema-versioning'"/>
+            <xsl:namespace name="xs" select="'http://www.w3.org/2001/XMLSchema'"/>
+            <xsl:namespace name="p5bws" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd'"/>
+            <xsl:namespace name="system_cache__appinfo" select="'http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd'"/>
+            <xsl:namespace name="{$p5ant.WPS_Functions.PRODUCT.prefix.input}" select="concat('http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/',$p5ant.WPS_Functions.PRODUCT.name.input,'/',$p5ant.WPS_Functions.PRODUCT.prefix.input,'.xsd')"/>
+            <xsl:attribute name="exclude-result-prefixes" select="'xs'"/>
+            <xsl:attribute name="version" select="'2.0'"/>
+            <xsl:element name="xsl:output">
+                <xsl:attribute name="indent" select="'yes'"/>
+            </xsl:element>
+            <xsl:element name="xsl:strip-space">
+                <xsl:attribute name="elements" select="'*'"/>
+            </xsl:element>
+            <xsl:element name="xsl:param">
+                <xsl:attribute name="name" select="'basedir'"/>
+            </xsl:element>
+        </xsl:element>
+    </xsl:template>
+    
+    
+    
+</xsl:stylesheet>