| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
- xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
- xmlns:p5dkp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:p5xsda="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsd_asserts/p5xsda.xsd"
- xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
- xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.xsd"
- xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
-
- <!--<xsl:key name="p5dkp:ditafiles.file" match="p5dkp:ditafiles/file"></xsl:key>-->
-
- <xsl:template name="p5dkp:ditafiles">
- <xsl:param name="p5dkp:ditafiles"/>
- <xsl:param name="p5dkp:true.path" required="yes"/>
- <p5dkp:ditafiles>
- <xsl:if test="$p5dkp:ditafiles"><xsl:copy-of select="$p5dkp:ditafiles/p5dkp:ditafiles/*" copy-namespaces="no"/></xsl:if>
- <!--<xsl:element name="file" xml:id="{replace($p5dkp:true.path,'/','')}" >
- <xsl:value-of select="replace($p5dkp:true.path,'/','')"/>
- </xsl:element>-->
- <file xml:id="{replace($p5dkp:true.path,'/','')}" >
- <xsl:value-of select="replace($p5dkp:true.path,'/','')"/>
- </file>
- </p5dkp:ditafiles>
- </xsl:template>
-
- <!--<xsl:template name="p5dkp:ditafiles.init">
- <xsl:param name="p5dkp:ditafiles"/>
- <xsl:param name="p5dkp:true.path" required="yes"/>
- <p5dkp:ditafiles>
- <xsl:if test="$p5dkp:ditafiles"><xsl:copy-of select="$p5dkp:ditafiles/p5dkp:ditafiles/*" copy-namespaces="no"/></xsl:if>
- <!-\-<xsl:element name="file" xml:id="{replace($p5dkp:true.path,'/','')}" >
- <xsl:value-of select="replace($p5dkp:true.path,'/','')"/>
- </xsl:element>-\->
- <file xml:id="__INIT__" >
- <xsl:value-of select="'__INIT__'"/>
- </file>
- </p5dkp:ditafiles>
- </xsl:template>-->
-
- <!--KKKEY <xsl:function name="p5dkp:ditafiles" >
- <xsl:param name="p5dkp:true.path"/>
- <xsl:param name="p5dkp:ditafiles"/>
- <xsl:choose>
- <xsl:when test="$p5dkp:ditafiles//file[ text() = replace($p5dkp:true.path,'/','') ][2]">
- <xsl:message terminate="no">#777333-AAA - p5dkp:ditafiles LOOP for $p5dkp:true.path <xsl:value-of select="$p5dkp:true.path"/>; </xsl:message>
- <xsl:value-of select="true()"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message terminate="no">#777333-BBB - p5dkp:ditafiles LOOP count =<xsl:value-of select="count($p5dkp:ditafiles//file[ text() = replace($p5dkp:true.path,'/','') ])"/> for $p5dkp:true.path <xsl:value-of select="$p5dkp:true.path"/>; </xsl:message>
- <!-\-<xsl:value-of select="tra"/>-\->
- </xsl:otherwise>
- </xsl:choose>
- </xsl:function>-->
-
-
- <xsl:function name="p5dkp:ditafiles">
- <xsl:param name="p5dkp:true.path"/>
- <xsl:param name="p5dkp:ditafiles"/>
- <xsl:choose>
- <xsl:when test="$p5dkp:ditafiles//file/id(replace($p5dkp:true.path,'/',''))">
- <xsl:message terminate="no">#777333-AAA-KKKEY--LOOP_ID - p5dkp:ditafiles LOOP for $p5dkp:true.path <xsl:value-of select="$p5dkp:true.path"/>; </xsl:message>
- <xsl:value-of select="true()"/>
- </xsl:when>
- <!--<xsl:when test="$p5dkp:ditafiles//file[ text() = replace($p5dkp:true.path,'/','') ]">
- <xsl:message terminate="no">#777333-AAA-KKKEY-\-LOOP - p5dkp:ditafiles LOOP for $p5dkp:true.path <xsl:value-of select="$p5dkp:true.path"/>; </xsl:message>
- <xsl:value-of select="true()"/>
- </xsl:when>-->
- <xsl:otherwise>
- <xsl:message terminate="no">#777333-BBB-KKKEY--NOT_LOOP - p5dkp:ditafiles LOOP count =<xsl:value-of select="count($p5dkp:ditafiles//file[ text() = replace($p5dkp:true.path,'/','') ])"/> for $p5dkp:true.path <xsl:value-of select="$p5dkp:true.path"/>; </xsl:message>
- <!--<xsl:value-of select="tra"/>-->
- </xsl:otherwise>
- </xsl:choose>
- </xsl:function>
-
- </xsl:stylesheet>
|