|
|
@@ -34,7 +34,7 @@
|
|
|
<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>
|
|
|
@@ -728,6 +728,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>
|
|
|
@@ -1615,7 +1616,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>
|
|
|
@@ -1818,6 +1828,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 -->
|
|
|
@@ -2159,6 +2177,15 @@
|
|
|
<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"/>
|
|
|
@@ -2324,7 +2351,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 -->
|
|
|
|
|
|
@@ -2562,6 +2598,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"
|
|
|
@@ -2874,6 +2918,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">
|
|
|
@@ -3092,6 +3144,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 -->
|
|
|
@@ -3219,6 +3289,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 -->
|
|
|
@@ -3287,10 +3371,7 @@
|
|
|
</stentry>
|
|
|
|
|
|
</strow>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
</simpletable>
|
|
|
</p>
|
|
|
</body>
|
|
|
@@ -3350,6 +3431,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))"/>
|
|
|
@@ -3533,6 +3615,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>
|