| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?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"
- exclude-result-prefixes="xs ditaarch"
- version="2.0">
-
- <xsl:template name="p5dkp:keyscope">
- <xsl:param name="keyscope"/>
- <xsl:param name="keyscope.attr"/>
- <xsl:param name="keys.attr" />
- <xsl:choose>
- <xsl:when test=" string-length($keyscope.attr) > 0">
- <keyscope>
- <xsl:for-each select="$keyscope/keyscope/key">
- <xsl:copy-of select="."/>
- </xsl:for-each>
- <xsl:choose>
- <xsl:when test="string-length($keys.attr) > 0 and 1=2">
- <xsl:for-each select="tokenize($keyscope.attr,' ')"><key><xsl:value-of select="."/>.<xsl:value-of select="$keys.attr"/></key></xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <xsl:for-each select="tokenize($keyscope.attr,' ')"><key><xsl:value-of select="."/></key></xsl:for-each>
- </xsl:otherwise>
- </xsl:choose>
- </keyscope>
- </xsl:when>
- <xsl:otherwise>
- <xsl:copy-of select="$keyscope"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <xsl:function name="p5dkp:keyscope.init">
- <keyscope>
- <key/>
- </keyscope>
- </xsl:function>
-
-
- </xsl:stylesheet>
|