| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?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"
- exclude-result-prefixes="xs vc p5bws system_cache__appinfo p5dkp p5suis xsi"
- version="2.0">
- <xsl:output indent="yes" method="xml" standalone="no" doctype-public="-//OASIS//DTD DITA Topic//EN" doctype-system="topic.dtd"/>
- <xsl:strip-space elements="*"/>
- <xsl:param name="basedir"/>
-
- <!--<xsl:param name="p5dkp:xsd" required="yes"/>-->
- <!--<xsl:param name="p5dkp.map.etapy.xml" required="yes"/>-->
- <xsl:param name="debug"/>
-
- <!--<xsl:include href="p5dkp.dita.xsl"/>-->
-
-
- <xsl:template match="p5dkp:p5dkp.map.budzet_rola.xsl.flat_relations.xml" mode="p5dkp:Statystyka_Obiektow.dita" priority="9">
- <topic id="Statystyka_Obiektow.dita" > <!-- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd" -->
- <title>Statystyka</title>
- <body>
- <xsl:choose>
- <xsl:when test="*[*]">
- <ol>
- <xsl:for-each-group select="*" group-by="name()">
- <li>
- <xsl:value-of select="count(current-group())"/> - <xsl:value-of select="name()"/>
- </li>
- <xsl:apply-templates mode="p5dkp:Statystyka_Obiektow.dita" select="current-group()"/>
- </xsl:for-each-group>
- </ol>
- </xsl:when>
- </xsl:choose>
-
- </body>
- </topic>
- </xsl:template>
-
- <xsl:template mode="p5dkp:Statystyka_Obiektow.dita" match="p5dkp:nodes.path" priority="9"/>
-
- <xsl:template match="*[*]" mode="p5dkp:Statystyka_Obiektow.dita">
- <xsl:comment>1</xsl:comment>
- <li>
- <xsl:value-of select="name()"/>
- <xsl:value-of select="text()"/>
- <xsl:choose>
- <xsl:when test="*[*]">
- <ol>
- <xsl:apply-templates mode="p5dkp:Statystyka_Obiektow.dita"/>
- </ol>
- </xsl:when>
- </xsl:choose>
- </li>
-
- </xsl:template>
-
- <xsl:template mode="p5dkp:Statystyka_Obiektow.dita" match="*[not(*)]">
- <li>
- <xsl:value-of select="name()"/> = <xsl:value-of select="text()"/>
- </li>
- </xsl:template>
-
- <xsl:template mode="p5dkp:Statystyka_Obiektow.dita" match="*"/>
-
- <xsl:template mode="p5dkp:Statystyka_Obiektow.dita" match="text()"/>
- <!--<xsl:template mode="p5dkp:Statystyka_Obiektow.dita" match="p5dkp:role">
- <topic id="Statystyka_Obiektow.dita.{generate-id()}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd">
- <title>Rola <xsl:value-of select="role_no"/></title>
- <body></body>
- </topic>
- </xsl:template>-->
-
-
- </xsl:stylesheet>
|