|
|
@@ -8,7 +8,8 @@
|
|
|
xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
|
|
|
xmlns:p5="https://biuro.biall-net.pl/wfs"
|
|
|
xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
|
|
|
- exclude-result-prefixes="xs system_cache__appinfo system_cache__dita ogr Benford default_db get_wfs p5"
|
|
|
+ xmlns:p5gnuplot="http://biuro.biall-net.pl/WPS_Functions/graph_gnuplot"
|
|
|
+ exclude-result-prefixes="xs system_cache__appinfo system_cache__dita ogr Benford default_db get_wfs p5 p5gnuplot"
|
|
|
version="2.0">
|
|
|
|
|
|
|
|
|
@@ -33,6 +34,8 @@
|
|
|
<xsl:param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_FAKTURY.data_sprzedazy" select="'data_sprzedazy'"/>
|
|
|
<xsl:param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_FAKTURY.Kwota_netto" select="'Kwota_netto'"/>
|
|
|
|
|
|
+ <xsl:param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person.print" select="'no'"/><!-- 'yes' -->
|
|
|
+ <xsl:param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.print.middle" select="'no'"/>
|
|
|
<!-- duze roznice
|
|
|
<Data_zawarcia>29.04.2008</Data_zawarcia>
|
|
|
<Okres_obowiazywania_umowy>Bezterminowa</Okres_obowiazywania_umowy>
|
|
|
@@ -152,8 +155,16 @@
|
|
|
</xsl:apply-templates>
|
|
|
</xsl:for-each>
|
|
|
|
|
|
+ <xsl:variable name="dita">
|
|
|
+ <xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.stats_all__x3A__preprocess"/>
|
|
|
+ </xsl:variable>
|
|
|
|
|
|
-
|
|
|
+ <xsl:for-each select="$dita//simpletable">
|
|
|
+ <xsl:message>#163 ..stats_all for @id = <xsl:value-of select="@id"/></xsl:message>
|
|
|
+ <xsl:apply-templates select="." mode="system_cache__dita:graph__write_dita_preprocess">
|
|
|
+ <xsl:with-param name="fileindex" select="@id"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:for-each>
|
|
|
|
|
|
<xsl:comment>#144 bocian-graph-2-html.preprocess </xsl:comment>
|
|
|
<!--<xsl:variable name="dita">
|
|
|
@@ -586,20 +597,22 @@
|
|
|
</topic>
|
|
|
</xsl:template>
|
|
|
|
|
|
+ <xsl:template mode="system_cache__dita:map.title" match="L_APPOITMENT_INFO[text()]">
|
|
|
+ <xsl:text> raport: </xsl:text><xsl:value-of select="."/>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template mode="system_cache__dita:map.title" match="@fid">
|
|
|
+ <xsl:text> numer: </xsl:text><xsl:value-of select="get_wfs:id_from_fid(.)"/>
|
|
|
+ </xsl:template>
|
|
|
|
|
|
<xsl:template match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA" mode="ditamap_root">
|
|
|
<!--<xsl:result-document href="energa_bledy_rum.ditamap">-->
|
|
|
<map xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:map.xsd">
|
|
|
- <title>raport <xsl:choose>
|
|
|
- <xsl:when test="L_APPOITMENT_INFO"><xsl:value-of select="L_APPOITMENT_INFO/text()"/></xsl:when>
|
|
|
- </xsl:choose><xsl:choose>
|
|
|
- <xsl:when test="get_wfs:id_from_fid(@fid)"> numer <xsl:value-of select="get_wfs:id_from_fid(@fid)"/> </xsl:when>
|
|
|
- </xsl:choose>
|
|
|
-
|
|
|
- przetwarzanie powiązań BOCIAN
|
|
|
- v2018-08-30(procesy5/rip)
|
|
|
- </title>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:call-template name="system_cache__dita:map.title"/>
|
|
|
+
|
|
|
<!-- osoby Akceptujacy_merytorycznie___nazwisko_i_imie -->
|
|
|
<xsl:variable name="resulset" select="."/> <!-- current() -->
|
|
|
|
|
|
@@ -704,21 +717,7 @@
|
|
|
<xsl:copy-of select="$BI_audit_ENERGA_RUM_KONTRAHENCI_filtered"/>
|
|
|
</xsl:result-document>
|
|
|
|
|
|
- <topichead navtitle="Graf powiązań">
|
|
|
- <topicref href="bocian-graph-2-html.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_statystyka_pracownik.dita">
|
|
|
- <xsl:result-document href="{$temp}/{$uuid}/bocian-graph-2-html.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_statystyka_pracownik.dita">
|
|
|
- <xsl:apply-templates select="." mode="bocian-graph-2-html.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_statystyka_pracownik.dita"/>
|
|
|
- </xsl:result-document>
|
|
|
- </topicref>
|
|
|
- </topichead>
|
|
|
-
|
|
|
- <topichead navtitle="Statystyka ilości powiązań">
|
|
|
- <topicref href="statystyka_pracownik.dita">
|
|
|
- <xsl:result-document href="{$temp}/{$uuid}/statystyka_pracownik.dita">
|
|
|
- <xsl:apply-templates select="." mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_statystyka_pracownik.dita"/>
|
|
|
- </xsl:result-document>
|
|
|
- </topicref>
|
|
|
- </topichead>
|
|
|
+
|
|
|
|
|
|
<xsl:choose><!-- XX1 sure -->
|
|
|
<xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/*[not(local-name()='BI_audit_ENERGA_PRACOWNICY')]">
|
|
|
@@ -726,6 +725,7 @@
|
|
|
<topichead navtitle="Powiązania innych niż pracownicy obiektów wejściowych (1e) - grupowanie po źródłach">
|
|
|
<xsl:for-each select="$sources/sources/source">
|
|
|
<topichead >
|
|
|
+ <xsl:attribute name="props">mode__ditamap__root</xsl:attribute>
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="string-length(.) > 0">
|
|
|
<xsl:attribute name="navtitle">Źródło danych (<xsl:value-of select="."/>) - Powiązania innych niż pracownicy obiektów wejściowych (1e-s) </xsl:attribute>
|
|
|
@@ -1613,7 +1613,16 @@
|
|
|
</xsl:when>
|
|
|
<xsl:otherwise>
|
|
|
<xsl:variable name="refpos" select="concat($group_name,'_', position())"/>
|
|
|
- <topicref href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href($group_name)}"/>
|
|
|
+ <topicref href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href($group_name)}">
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position()=1">pos__first</xsl:when>
|
|
|
+ <xsl:when test="position()=last()">pos__last</xsl:when>
|
|
|
+ <xsl:otherwise>pos__else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__cust_fe1626</xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
+ </topicref>
|
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
|
</xsl:when>
|
|
|
@@ -1633,7 +1642,25 @@
|
|
|
</xsl:for-each>
|
|
|
</topichead>
|
|
|
|
|
|
+ <topichead navtitle="Graf powiązań">
|
|
|
+ <topicref href="bocian-graph-2-html.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_statystyka_pracownik.dita">
|
|
|
+ <xsl:result-document href="{$temp}/{$uuid}/bocian-graph-2-html.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_statystyka_pracownik.dita">
|
|
|
+ <xsl:apply-templates select="." mode="bocian-graph-2-html.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_statystyka_pracownik.dita"/>
|
|
|
+ </xsl:result-document>
|
|
|
+ </topicref>
|
|
|
+ </topichead>
|
|
|
|
|
|
+ <topichead navtitle="Statystyka ilości powiązań">
|
|
|
+ <topicref href="statystyka_pracownik.dita" props="mode__BaERKP_statystyka_pracownik.dita">
|
|
|
+ <xsl:result-document href="{$temp}/{$uuid}/statystyka_pracownik.dita">
|
|
|
+ <xsl:apply-templates select="." mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_statystyka_pracownik.dita"/>
|
|
|
+ </xsl:result-document>
|
|
|
+ </topicref>
|
|
|
+
|
|
|
+ <xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.stats_all"/>
|
|
|
+
|
|
|
+
|
|
|
+ </topichead>
|
|
|
|
|
|
|
|
|
</map>
|
|
|
@@ -1676,31 +1703,50 @@
|
|
|
<xsl:comment>#972 </xsl:comment>
|
|
|
<body>
|
|
|
|
|
|
- <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY" group-by="@fud">
|
|
|
- <p><xsl:value-of select="ID"/> - <xsl:value-of select="nazwisko"/><xsl:text> </xsl:text> <xsl:value-of select="imiona"/><xsl:text> </xsl:text> <xsl:value-of select="nazwa"/><xsl:text> </xsl:text><xsl:if test="source">źródło:<xsl:value-of select="source"/></xsl:if></p>
|
|
|
+ <!--<xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]" group-by="@fud">
|
|
|
+ <p><xsl:value-of select="ID"/> - <xsl:value-of select="nazwisko"/><xsl:text> </xsl:text> <xsl:value-of select="imiona"/><xsl:text> </xsl:text> <xsl:value-of select="nazwa"/><xsl:text> </xsl:text><xsl:text> </xsl:text> <xsl:value-of select="Pelna_nazwa_kontrahenta"/> <xsl:if test="source"> źródło:<xsl:value-of select="source"/></xsl:if></p>
|
|
|
+ </xsl:for-each-group>-->
|
|
|
+
|
|
|
+ <!--<xsl:variable name="avg">
|
|
|
+ <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]" group-by="@fid">
|
|
|
+ <xsl:variable name="pracownik" select="ID"/>
|
|
|
+ <stentry><xsl:value-of select=" count( current-group() )"/></stentry>
|
|
|
</xsl:for-each-group>
|
|
|
+ </xsl:variable>-->
|
|
|
+
|
|
|
+ <!--<xsl:variable name="avg.scale_max" select="(round(max($avg//stentry) div 100)) * 100"/>-->
|
|
|
|
|
|
<xsl:variable name="simpletable">
|
|
|
- <simpletable frame="all" id="{$uuid}topic_simpletable_statystyka_pracownik.dita_table">
|
|
|
+ <simpletable frame="all" id="{$uuid}topic_simpletable_statystyka_pracownik.dita_table" props="print__no">
|
|
|
<strow>
|
|
|
- <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY" group-by="@fid">
|
|
|
- <stentry><xsl:value-of select="ID"/></stentry>
|
|
|
+ <stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names('skala 0')"/></stentry>
|
|
|
+ <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]" group-by="@fid">
|
|
|
+ <stentry>
|
|
|
+
|
|
|
+ <xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat('[',ID,'] ',imiona,' ',nazwisko,' ', nazwa, Pelna_nazwa_kontrahenta ))"/>
|
|
|
+
|
|
|
+ <!--<xsl:value-of select="ID"/>-->
|
|
|
+ </stentry>
|
|
|
</xsl:for-each-group>
|
|
|
+ <!--<stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat('skala ',$avg.scale_max))"/></stentry>-->
|
|
|
</strow>
|
|
|
<strow>
|
|
|
- <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY" group-by="@fid">
|
|
|
+ <stentry>0</stentry>
|
|
|
+ <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]" group-by="@fid">
|
|
|
<xsl:variable name="pracownik" select="ID"/>
|
|
|
<stentry><xsl:value-of select=" count( current-group() )"/></stentry>
|
|
|
</xsl:for-each-group>
|
|
|
+ <!--<stentry><xsl:value-of select="$avg.scale_max"/></stentry>-->
|
|
|
</strow>
|
|
|
</simpletable>
|
|
|
</xsl:variable>
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="$simpletable//stentry">
|
|
|
- <p> Ilości powiązań <note>Uwaga, w przypadku odnalezionych kilku tras do tego samego kontrahenta pokazywana jest jedna trasa (wykres nie zawiera tego ograniczenia)</note>
|
|
|
-
|
|
|
+ <p> Ilości powiązań </p>
|
|
|
+ <foreign>
|
|
|
<xsl:copy-of select="$simpletable" copy-namespaces="no"/>
|
|
|
- <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
+ </foreign>
|
|
|
+ <p> <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
<xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
|
|
|
<xsl:with-param name="width" select="500"/>
|
|
|
</xsl:apply-templates>
|
|
|
@@ -1719,29 +1765,40 @@
|
|
|
|
|
|
<xsl:comment>#1016 </xsl:comment>
|
|
|
|
|
|
+ <!--<xsl:variable name="avg">
|
|
|
+ <stentry><xsl:value-of select=" round(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/count(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object))"/></stentry>
|
|
|
+ </xsl:variable>-->
|
|
|
+
|
|
|
<xsl:variable name="simpletable">
|
|
|
- <simpletable frame="all" id="{$uuid}topic_simpletable_statystyka_pracownik.dita_table_srednie">
|
|
|
+ <simpletable frame="all" id="{$uuid}topic_simpletable_statystyka_pracownik.dita_table_srednie" props="print__no">
|
|
|
<strow>
|
|
|
- <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY" group-by="@fid">
|
|
|
- <stentry><xsl:value-of select="ID"/></stentry>
|
|
|
+ <stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names('skala 0')"/></stentry>
|
|
|
+ <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]" group-by="@fid">
|
|
|
+ <stentry>
|
|
|
+ <xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat('[',ID,'] ',imiona,' ',nazwisko,' ', nazwa, Pelna_nazwa_kontrahenta ))"/>
|
|
|
+ </stentry>
|
|
|
</xsl:for-each-group>
|
|
|
+ <!--<stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat('skala ',$avg.scale_max))"/></stentry>-->
|
|
|
</strow>
|
|
|
<strow>
|
|
|
- <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY" group-by="@fid">
|
|
|
+ <stentry>0</stentry>
|
|
|
+ <xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]" group-by="@fid">
|
|
|
<xsl:variable name="pracownik" select="@fid"/>
|
|
|
- <stentry><xsl:value-of select=" round(count( $current/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY/@fid=$pracownik]/*[1]) div count( current-group() ) )"/></stentry>
|
|
|
+ <stentry><xsl:value-of select=" round(count( $current/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[*[1]/@fid=$pracownik][ position() = 1]]/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object) div count( current-group() ) )"/></stentry>
|
|
|
</xsl:for-each-group>
|
|
|
+ <!--<stentry><xsl:value-of select="$avg.scale_max"/></stentry>-->
|
|
|
</strow>
|
|
|
</simpletable>
|
|
|
</xsl:variable>
|
|
|
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="$simpletable//stentry">
|
|
|
- <p>Średnie długości powiązań
|
|
|
+ <p>Średnie długości powiązań</p>
|
|
|
<!--<xsl:value-of select="count( $current/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY/ID=$PROCES_INIT_tree.ditamap]/object)"/>-->
|
|
|
-
|
|
|
+ <foreign>
|
|
|
<xsl:copy-of select="$simpletable" copy-namespaces="no"/>
|
|
|
- <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
+ </foreign>
|
|
|
+ <p> <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
<xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
|
|
|
<xsl:with-param name="width" select="500"/>
|
|
|
</xsl:apply-templates>
|
|
|
@@ -1757,7 +1814,10 @@
|
|
|
<simpletable frame="all" id="{$uuid}topic_simpletable_statystyka_pracownik.dita_table_kwoty">
|
|
|
<strow>
|
|
|
<xsl:for-each-group select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY" group-by="ID">
|
|
|
- <stentry><xsl:value-of select="ID"/></stentry>
|
|
|
+ <stentry>
|
|
|
+ <xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat(ID,' ',imiona,' ',nazwisko,' ', substring(nazwa,1,10), substring(Pelna_nazwa_kontrahenta,1,10) ))"/>
|
|
|
+
|
|
|
+ </stentry>
|
|
|
</xsl:for-each-group>
|
|
|
</strow>
|
|
|
<strow>
|
|
|
@@ -1787,9 +1847,9 @@
|
|
|
<xsl:when test="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_RUM_UMOWY.DISABLE"/>
|
|
|
<xsl:when test="not($current//BI_audit_ENERGA_RUM_KONTRAHENCI/BI_audit_ENERGA_RUM_UMOWY/Wartosc/text())"/>
|
|
|
<xsl:when test="$simpletable//stentry">
|
|
|
- <p>Kwoty transakcji <note>w mln PLN</note>
|
|
|
+ <p>Kwoty transakcji <note>w mln PLN</note></p>
|
|
|
<xsl:copy-of select="$simpletable"/>
|
|
|
- <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
+ <p> <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
<xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
|
|
|
<xsl:with-param name="width" select="500"/>
|
|
|
</xsl:apply-templates>
|
|
|
@@ -1816,6 +1876,14 @@
|
|
|
<topicref ><!-- XX7 href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','','1'))}" --> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position) -->
|
|
|
<xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$title)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keys(.,$title)" copy-namespaces="no"/> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.dita.key.attr(.) -->
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position()=1">pos__first</xsl:when>
|
|
|
+ <xsl:when test="position()=last()">pos__last</xsl:when>
|
|
|
+ <xsl:otherwise>pos_else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__BaERK</xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
<xsl:message>#781 debug : result doc: <xsl:value-of select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','','1'))"/>. dita</xsl:message>
|
|
|
|
|
|
<xsl:variable name="BI_audit_ENERGA_RUM_UMOWY_fix" select="$resulset/BI_audit_ENERGA_RUM_KONTRAHENCI[@fid = current()/@fid ]"/> <!-- ]$resulset/BI_audit_ENERGA_RUM_KONTRAHENCI[ID/text()= current()/ID ] --><!-- XX1 -->
|
|
|
@@ -1936,8 +2004,6 @@
|
|
|
</xsl:for-each>
|
|
|
<stentry>Suma</stentry>
|
|
|
</sthead>
|
|
|
-
|
|
|
-
|
|
|
<xsl:for-each select="$Osoba_merytoryczna___nazwisko_i_imie//Osoba_merytoryczna___nazwisko_i_imie ">
|
|
|
<xsl:variable name="Osoba" select="."/>
|
|
|
<strow>
|
|
|
@@ -2158,6 +2224,16 @@
|
|
|
<xsl:variable name="refpos" select="concat($group_name,'_', position())"/>
|
|
|
<xsl:variable name="context" select="."/>
|
|
|
<topicref > <!-- XX7 {system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position))} --> <!-- {$group_name}/{$refpos}.dita --> <!-- {system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[position() = last()]/*[1]/local-name(),parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[position() = last()]/*[1]/@fid,$position)}.dita -->
|
|
|
+ <xsl:attribute name="print" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person.print"/>
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:value-of select="concat('print_',$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person.print)"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position()=1"> pos__first </xsl:when>
|
|
|
+ <xsl:when test="position()=last()"> pos__last </xsl:when>
|
|
|
+ <xsl:otherwise> pos__else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__BaERKPp</xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
<xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$title)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keys(.,$title)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keydef(.,'map',$title)" copy-namespaces="no"/>
|
|
|
@@ -2169,7 +2245,6 @@
|
|
|
<xsl:result-document href="{system_cache__dita:files.key.href.write.topic.title.context(.,$title)}" ><!-- XX7 href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position))}" --><!-- {$temp}/{$uuid}/{$group_name}/{$refpos}.dita --> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,ancestor::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[1]/local-name(),ancestor::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[1]/@fid,$position) --><!-- {$temp}/{$uuid}/{$group_name}/{$refpos}.dita XXS -->
|
|
|
<topic id="{$uuid}topic_simpletable_person_{$group_name}_{position()}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd">
|
|
|
-
|
|
|
<xsl:variable name="count">
|
|
|
<count>
|
|
|
<!--<xsl:for-each-group select="current-group()/../../." group-by="concat(parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid , parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[ position() = 1]/@fid)">
|
|
|
@@ -2206,7 +2281,6 @@
|
|
|
<xsl:value-of select="pesel"/><xsl:text> </xsl:text> <xsl:value-of select="nazwa"/><xsl:text> </xsl:text>
|
|
|
<xsl:text> </xsl:text> <xsl:value-of select="A_miejscowosc"/><xsl:text> </xsl:text>
|
|
|
<xsl:text> </xsl:text> <xsl:value-of select="A_ulica"/><xsl:text> </xsl:text>
|
|
|
-
|
|
|
</title>-->
|
|
|
<!--<curr><xsl:copy-of select="current-group()"></xsl:copy-of></curr>-->
|
|
|
<!--<curr_parrent><xsl:copy-of select="current-group()/../../."></xsl:copy-of></curr_parrent>-->
|
|
|
@@ -2240,22 +2314,15 @@
|
|
|
<!--<xsl:for-each-group select="current-group()/../../.[ position() = 1 ] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"><!-\- firmy do -\->
|
|
|
<xsl:variable name="position_1" select="position()"/>
|
|
|
<xsl:variable name="firma_do_id" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/>
|
|
|
-
|
|
|
<xsl:for-each-group select="$current_group_person[ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[position()=1]/@fid = $firma_do_id and position() = 1] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[ position() = 1]/@fid"> <!-\- pracownicy -\-> <!-\- X11 -\->
|
|
|
<xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA.ends.desc.table">
|
|
|
- <xsl:with-param name="row_obj_first" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ 1]/*[1]"/>
|
|
|
-
|
|
|
+ <xsl:with-param name="row_obj_first" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ 1]/*[1]"/>
|
|
|
<xsl:with-param name="row_obj_last" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ last()]/*[1]"/>
|
|
|
-
|
|
|
<xsl:with-param name="context" select="."/>
|
|
|
</xsl:call-template>
|
|
|
- </xsl:for-each-group>
|
|
|
-
|
|
|
-
|
|
|
+ </xsl:for-each-group>
|
|
|
</xsl:for-each-group>-->
|
|
|
-
|
|
|
- <draft-comment author="a.binder">#2253 - testing </draft-comment>
|
|
|
-
|
|
|
+ <draft-comment author="a.binder">#2253 - testing </draft-comment>
|
|
|
<!--<xsl:for-each-group select="current-group()/../../.[ position() < 10 ] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"><!-\- firmy do -\->
|
|
|
<xsl:variable name="position_1" select="position()"/>
|
|
|
<xsl:variable name="firma_do_id" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/> <!-\- X11 -\->
|
|
|
@@ -2273,8 +2340,6 @@
|
|
|
|
|
|
</xsl:for-each-group>
|
|
|
</xsl:for-each-group>-->
|
|
|
-
|
|
|
-
|
|
|
<simpletable frame="all" relcolwidth="1* 3* 3*" id="{$uuid}simpletable_rows__child_person_{$group_name}_{$refpos}">
|
|
|
<strow>
|
|
|
<stentry>Lp</stentry>
|
|
|
@@ -2282,44 +2347,33 @@
|
|
|
<stentry> od</stentry>
|
|
|
<!--<stentry> w</stentry>-->
|
|
|
<stentry> do</stentry>
|
|
|
-
|
|
|
- </strow>
|
|
|
-
|
|
|
-
|
|
|
+ </strow>
|
|
|
<!--<debug.1444>
|
|
|
<xsl:copy-of select="current-group()"/>
|
|
|
</debug.1444>-->
|
|
|
-
|
|
|
<!-- <xsl:for-each select="current-group()[ position() < 10 ] ">-->
|
|
|
<xsl:variable name="current_group_person" select="current-group()/../../."/>
|
|
|
<!--<debug.current_group_person>
|
|
|
<xsl:copy-of select="$current_group_person"></xsl:copy-of>
|
|
|
</debug.current_group_person>-->
|
|
|
<xsl:message>#2425 current-group()/../../.[ position() < 10 ] = <xsl:value-of select="count(current-group()/../../.[ position() < 10 ]) "/></xsl:message>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<xsl:for-each-group select="current-group()/../../.[ position() < 10 ] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"><!-- firmy do -->
|
|
|
<xsl:variable name="position_1" select="position()"/>
|
|
|
<xsl:variable name="firma_do_id" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/> <!-- X11 -->
|
|
|
<xsl:comment>#278 $firma_do_id=<xsl:value-of select="$firma_do_id"/>; $position_1=<xsl:value-of select="$position_1"/>; do <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/></xsl:comment>
|
|
|
<xsl:message>#278 $firma_do_id=<xsl:value-of select="$firma_do_id"/>; $position_1=<xsl:value-of select="$position_1"/>; do <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/></xsl:message>
|
|
|
-
|
|
|
<xsl:for-each-group select="$current_group_person[ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[position()=1]/@fid = $firma_do_id and position() < 10 ] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[ position() = 1]/@fid"> <!-- pracownicy --> <!-- X11 -->
|
|
|
<xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.middle_ref" select=".">
|
|
|
<xsl:with-param name="position_1" select="$position_1"/>
|
|
|
<xsl:with-param name="position" select="position()"/>
|
|
|
<xsl:with-param name="context" select="$context"/>
|
|
|
<xsl:with-param name="title" select="$title"/>
|
|
|
+
|
|
|
</xsl:apply-templates>
|
|
|
</xsl:for-each-group>
|
|
|
</xsl:for-each-group>
|
|
|
-
|
|
|
-
|
|
|
<!--</xsl:for-each>-->
|
|
|
</simpletable>
|
|
|
-
|
|
|
-
|
|
|
</body>
|
|
|
</topic>
|
|
|
</xsl:result-document>
|
|
|
@@ -2345,7 +2399,16 @@
|
|
|
<!-- new -->
|
|
|
<xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$group_name)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keys(current(),$group_name)" copy-namespaces="no"/>
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position()=1">pos__fist</xsl:when>
|
|
|
+ <xsl:when test="position()=last()">pos__last</xsl:when>
|
|
|
+ <xsl:otherwise>pos__else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__raport_note</xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
<xsl:copy-of select="system_cache__dita:files.href.context.title.keydef(system_cache__dita:files.key.title.context.href(current(),'map',$group_name),current(),'BI_audit_operational_raport_note')" copy-namespaces="no"/>
|
|
|
+
|
|
|
<!-- old -->
|
|
|
<!--<xsl:copy-of select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.dita.fid.keydef($href,$group_name)" copy-namespaces="no"/>--><!-- TODO -->
|
|
|
|
|
|
@@ -2461,8 +2524,8 @@
|
|
|
<stentry><xsl:value-of select="$position_1"/> / <!--<xsl:value-of select="$position"/> / --><xsl:value-of select="$position"/> </stentry>
|
|
|
<!--<stentry>-->
|
|
|
<!--<xsl:choose>
|
|
|
- <xsl:when test="../../BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 2]/BI_audit_KRS_person/pesel[ //]"></xsl:when>
|
|
|
- </xsl:choose>-->
|
|
|
+ <xsl:when test="../../BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 2]/BI_audit_KRS_person/pesel[ //]"></xsl:when>
|
|
|
+ </xsl:choose>-->
|
|
|
<!--</stentry>-->
|
|
|
<stentry>
|
|
|
<xref > <!-- href="../{ system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]/@fid ,BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/name(),BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/@fid,@pos))}" -->
|
|
|
@@ -2499,7 +2562,6 @@
|
|
|
<xref>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keyref(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[last()]/*[1],'BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA')" copy-namespaces="no"/>
|
|
|
link
|
|
|
-
|
|
|
</xref>
|
|
|
<xsl:apply-templates mode="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal.body" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ 1]"/>
|
|
|
<!--<xsl:choose>
|
|
|
@@ -2584,6 +2646,14 @@
|
|
|
<xsl:variable name="refpos" select="concat(krs,'_', position())"/>
|
|
|
|
|
|
<topicref href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position))}.dita">
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position()=1">pos__first</xsl:when>
|
|
|
+ <xsl:when test="position()=last()">pos__last</xsl:when>
|
|
|
+ <xsl:otherwise>pos__else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__POWIAZANIA_krs</xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
<xsl:message>#545 debug : @fid=<xsl:value-of select="@fid"/>; $position=<xsl:value-of select="$position"/>; result doc: <xsl:value-of select="$group_name"/>/<xsl:value-of select="$refpos"/></xsl:message>
|
|
|
<xsl:result-document href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position))}">
|
|
|
<topic id="{$uuid}topic_simpletable_{$group_name}_{position()}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
@@ -2622,6 +2692,7 @@
|
|
|
<xsl:with-param name="position" select="position()"/>
|
|
|
<xsl:with-param name="title" select="''"/>
|
|
|
<xsl:with-param name="context" select="."/>
|
|
|
+ <xsl:with-param name="print" select="'no'"/>
|
|
|
</xsl:apply-templates>
|
|
|
<!--<xsl:variable name="group_name_refpos" select="../../BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY/system_cache__appinfo:truncate_special_and_do_uppercase(concat(imiona,'_',nazwisko,'_',nip))"/>
|
|
|
<xsl:variable name="group_name_refpos.kon" select="concat(../../BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last() ]/*[ position() = 1]/system_cache__appinfo:truncate_special_and_do_uppercase(concat(ID,Pelna_nazwa_kontrahenta)),'1_DO')"/>
|
|
|
@@ -2895,6 +2966,14 @@
|
|
|
<xsl:variable name="current" select="."/>
|
|
|
<xsl:variable name="current_nip" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*/NIP"/>
|
|
|
<topicref href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',position()))}"> <!-- {$group_name}_DO/{position()}.dita -->
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position()=1">pos__first</xsl:when>
|
|
|
+ <xsl:when test="position()=last()">pos__last</xsl:when>
|
|
|
+ <xsl:otherwise>pos__else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__POWIAZANIA_row_do</xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
<xsl:result-document href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',position()))}"> <!-- {$temp}/{$uuid}/{$group_name}_DO/{position()}.dita -->
|
|
|
<topic id="{$uuid}topic_simpletable_cheat_POS__row_{$group_name}_DO_{position()}_{ generate-id()}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd">
|
|
|
@@ -3113,6 +3192,24 @@
|
|
|
<topicref> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'',$current-grouping-key,$position)) --><!-- {$group_name}_LIST.dita -->
|
|
|
<xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$title)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keys($context/*[1],$title)" copy-namespaces="no"/>
|
|
|
+ <xsl:if test="string-length($system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.print.middle) > 0 and not(position() = 1) and not(position() = last())">
|
|
|
+ <xsl:attribute name="print">
|
|
|
+ <!-- <xsl:choose>
|
|
|
+ <xsl:when test="not(position() = 1) and not(position() = last())">-->
|
|
|
+ <xsl:value-of select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.print.middle"/>
|
|
|
+ <!--</xsl:when>
|
|
|
+ </xsl:choose>-->
|
|
|
+ </xsl:attribute>
|
|
|
+ <xsl:attribute name="props" select="concat('print_',$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.print.middle)"/>
|
|
|
+ </xsl:if>
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position()=1">pos__first</xsl:when>
|
|
|
+ <xsl:when test="position()= last()">pos__last</xsl:when>
|
|
|
+ <xsl:otherwise>pos__else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__row_LISTA</xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
<xsl:comment>#3063 system_cache__dita:files.href.context.title.keydef</xsl:comment>
|
|
|
<xsl:copy-of select="system_cache__dita:files.href.context.title.keydef(system_cache__dita:files.key.title.context.href(current(),'map',$title),BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/*[1],'BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA')" copy-namespaces="no"/>
|
|
|
<xsl:result-document href="{system_cache__dita:files.key.href.write.topic.title.context(.,$title)}"> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'',$current-grouping-key,$position)) --><!-- {$temp}/{$uuid}/{$group_name}_LIST.dita -->
|
|
|
@@ -3240,6 +3337,20 @@
|
|
|
<topicref> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'',$current-grouping-key,$position)) --><!-- {$group_name}_LIST.dita -->
|
|
|
<xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$title)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keys($context/*[1],$title)" copy-namespaces="no"/>
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position() = 1 ">pos_first</xsl:when>
|
|
|
+ <xsl:when test="position() = last()">pos_last</xsl:when>
|
|
|
+ <xsl:otherwise>pos_else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__row_LISTA</xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="not(position()=1) and not(position()=last()) and string-length($system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.print.middle) >0">
|
|
|
+ <xsl:attribute name="print" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.print.middle"/>
|
|
|
+ </xsl:when>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
<xsl:comment>#3063_B system_cache__dita:files.href.context.title.keydef</xsl:comment>
|
|
|
<xsl:copy-of select="system_cache__dita:files.href.context.title.keydef(system_cache__dita:files.key.title.context.href(current(),'map',$title),*[1],'BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA')" copy-namespaces="no"/>
|
|
|
<xsl:result-document href="{system_cache__dita:files.key.href.write.topic.title.context(.,$title)}"> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'',$current-grouping-key,$position)) --><!-- {$temp}/{$uuid}/{$group_name}_LIST.dita -->
|
|
|
@@ -3308,10 +3419,7 @@
|
|
|
</stentry>
|
|
|
|
|
|
</strow>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
</simpletable>
|
|
|
</p>
|
|
|
</body>
|
|
|
@@ -3371,6 +3479,7 @@
|
|
|
<xsl:choose>
|
|
|
<xsl:when test=" position() = 0 ">
|
|
|
<topichead navtitle=" Pominięto więcej przykładów z uwagi na ilość"/>
|
|
|
+ <xsl:attribute name="props">mode__POWIAZANIA_row</xsl:attribute>
|
|
|
</xsl:when>
|
|
|
<xsl:when test=" position() = 0 ">
|
|
|
<xsl:variable name="current-save-file-id" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position_save))"/>
|
|
|
@@ -3554,6 +3663,14 @@
|
|
|
|
|
|
<topicref > <!-- <xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$title)"/> --> <!-- {$group_name}.dita XXS -->
|
|
|
<xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$title)" copy-namespaces="no"/>
|
|
|
+ <xsl:attribute name="props">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position()=1">pos_first</xsl:when>
|
|
|
+ <xsl:when test="position()=last()">pos_last</xsl:when>
|
|
|
+ <xsl:otherwise>pos_else</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:text> mode__POWIAZANIA_row_3624 </xsl:text>
|
|
|
+ </xsl:attribute>
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="position() > $limit">
|
|
|
<xsl:attribute name="processing-role">resource-only</xsl:attribute>
|