|
|
@@ -55,6 +55,22 @@
|
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
|
</xsl:function>
|
|
|
+
|
|
|
+ <xsl:function name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key">
|
|
|
+ <xsl:param name="nazwisko"/>
|
|
|
+ <xsl:param name="imiona"/>
|
|
|
+ <xsl:param name="pesel"/>
|
|
|
+ <xsl:param name="nip"/>
|
|
|
+ <xsl:variable name="group_name" select="'MSIG_person'"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$pesel">
|
|
|
+ <xsl:value-of select="concat($group_name,'_',$pesel)"/>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:value-of select="concat($group_name,'_',$imiona,'_',$nazwisko,'_',$nip)"/>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:function>
|
|
|
|
|
|
<xsl:function name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_PRACOWNICY.key">
|
|
|
<xsl:param name="ID"/>
|
|
|
@@ -77,6 +93,11 @@
|
|
|
<xsl:value-of select="concat($group_name,'_',$ID)"/>
|
|
|
</xsl:function>
|
|
|
|
|
|
+ <xsl:function name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key">
|
|
|
+ <xsl:param name="krs"/>
|
|
|
+ <xsl:variable name="group_name" select="'MSIG'"/>
|
|
|
+ <xsl:value-of select="concat($group_name,'_',$krs)"/>
|
|
|
+ </xsl:function>
|
|
|
|
|
|
<xsl:template match="RelatedFeatureRoot" mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA">
|
|
|
<xsl:message>#37 template match="RelatedFeatureRoot" mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA"</xsl:message>
|
|
|
@@ -473,8 +494,6 @@
|
|
|
</xsl:for-each>
|
|
|
</topichead>
|
|
|
</xsl:for-each>
|
|
|
-
|
|
|
-
|
|
|
</topichead>
|
|
|
|
|
|
|
|
|
@@ -549,7 +568,6 @@
|
|
|
</topichead>-->
|
|
|
|
|
|
<topichead navtitle="Powiązania do kontrahentów z KRS ogólnie (podział na źródła)">
|
|
|
-
|
|
|
<xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_krs_uniq">
|
|
|
<BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_krs_uniq>
|
|
|
<xsl:for-each select="$sources/sources/source">
|
|
|
@@ -606,9 +624,84 @@
|
|
|
</xsl:for-each>
|
|
|
</topichead>
|
|
|
|
|
|
+ <topichead navtitle="Powiązania do kontrahentów z MSIG (podział na źródła)">
|
|
|
+
|
|
|
+ <xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed">
|
|
|
+ <BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed>
|
|
|
+ <xsl:for-each select="$sources/sources/source">
|
|
|
+ <xsl:variable name="source" select="."/>
|
|
|
+ <xsl:for-each select="$interested_row/interested_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[object[position() = 1]/*/source= current()]/object/BI_audit_MSIG" >
|
|
|
+ <person>
|
|
|
+ <xsl:attribute name="key" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key(krs)"/>
|
|
|
+ <xsl:attribute name="source" select="$source"/>
|
|
|
+ </person>
|
|
|
+ </xsl:for-each>
|
|
|
+ </xsl:for-each>
|
|
|
+ </BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_uniq">
|
|
|
+ <BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_uniq>
|
|
|
+ <xsl:for-each select="$sources/sources/source">
|
|
|
+ <xsl:variable name="source" select="."/>
|
|
|
+ <xsl:for-each-group select="$BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed//person[@source=$source]" group-by="@key">
|
|
|
+ <person>
|
|
|
+ <xsl:attribute name="key" select="@key"/>
|
|
|
+ <xsl:attribute name="source" select="$source"/>
|
|
|
+ </person>
|
|
|
+ </xsl:for-each-group>
|
|
|
+ </xsl:for-each>
|
|
|
+ </BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_uniq>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:for-each select="$sources/sources/source">
|
|
|
+ <xsl:variable name="source" select="."/>
|
|
|
+ <xsl:message>#MSIG_286_F Powiązania do person z KRS ogólnie (podział na źródła) = <xsl:value-of select="."/></xsl:message>
|
|
|
+ <topichead navtitle="żródło:{.} Powiązania do firm z MSIG ogólnie">
|
|
|
+ <xsl:for-each select="$BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_uniq//person[@source=$source]">
|
|
|
+
|
|
|
+ <xsl:for-each-group select="$interested_row/interested_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[object[position() = 1]/*/source= $source]/object/BI_audit_MSIG[ system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key(krs) = current()/@key ]" group-by=" system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key(krs)">
|
|
|
+ <xsl:variable name="group_name" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key(krs)"/>
|
|
|
+ <!--<topichead navtitle="{object[position() = last()]/*/concat(Pelna_nazwa_kontrahenta,' ',Miejscowosc,' ',NIP)} powiązań ({ count( current-group())}) ">-->
|
|
|
+
|
|
|
+ <!--<xsl:choose>
|
|
|
+ <xsl:when test="//BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_old/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/object[ position() = last()]/BI_audit_ENERGA_RUM_KONTRAHENCI/ID=$BI_audit_ENERGA_RUM_KONTRAHENCI.ID">-->
|
|
|
+ <xsl:message>#MSIG_533_F counting ile person <xsl:value-of select="count($BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed//person[@key = $group_name])"/></xsl:message>
|
|
|
+ <xsl:choose> <!-- testowanie czy jest w roznych zrodlach ten sam pesel -->
|
|
|
+ <xsl:when test="count($BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed//person[@key = $group_name]) > 1">
|
|
|
+ <!-- pierwszy vs obecny _row powiazania z danym PESEL-->
|
|
|
+ <xsl:variable name="min" select="$interested_row/interested_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[ object/BI_audit_MSIG[ system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key(krs) = $group_name ]][1]/@pos"/>
|
|
|
+ <xsl:variable name="curr" select="../.././@pos"/>
|
|
|
+ <xsl:message>#MSIG_538_F pozycja $min = <xsl:value-of select="$min"/> ; curr = <xsl:value-of select="$curr"/> $group_name = <xsl:value-of select="$group_name"/> ; position()=<xsl:value-of select="position()"/> </xsl:message>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$curr = $min and position() = 1">
|
|
|
+ <xsl:message>#MSIG_547_F - generating first occurence of <xsl:value-of select="$group_name"/></xsl:message>
|
|
|
+ <xsl:comment>#MSIG_538_F pos <xsl:value-of select="$curr"/></xsl:comment>
|
|
|
+ <!--<xsl:copy-of select="../../."/>-->
|
|
|
+ <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_krs" select="." >
|
|
|
+ <xsl:with-param name="group_name" select="$group_name"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:variable name="refpos" select="concat($group_name,'_', position())"/>
|
|
|
+ <topicref href="{$group_name}/{$refpos}.dita"/>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:message>#MSIG_522_F otherwise</xsl:message>
|
|
|
+ <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_krs" select="." >
|
|
|
+ <xsl:with-param name="group_name" select="$group_name"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:for-each-group>
|
|
|
+ </xsl:for-each>
|
|
|
+ </topichead>
|
|
|
+ </xsl:for-each>
|
|
|
+ </topichead>
|
|
|
|
|
|
-
|
|
|
- <topichead navtitle="Powiązania do osób (podział na źródła)">
|
|
|
+ <topichead navtitle="Powiązania do osób z KRS (podział na źródła)">
|
|
|
|
|
|
<xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed">
|
|
|
<BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed>
|
|
|
@@ -686,6 +779,83 @@
|
|
|
</topichead>
|
|
|
|
|
|
|
|
|
+ <topichead navtitle="Powiązania do osób z MSIG (podział na źródła)">
|
|
|
+
|
|
|
+ <xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed">
|
|
|
+ <BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed>
|
|
|
+ <xsl:for-each select="$sources/sources/source">
|
|
|
+ <xsl:variable name="source" select="."/>
|
|
|
+ <xsl:for-each select="$interested_row/interested_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[object[position() = 1]/*/source= current()]/object/BI_audit_MSIG_person" >
|
|
|
+ <person>
|
|
|
+ <xsl:attribute name="key" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'')"/>
|
|
|
+ <xsl:attribute name="source" select="$source"/>
|
|
|
+ </person>
|
|
|
+ </xsl:for-each>
|
|
|
+ </xsl:for-each>
|
|
|
+ </BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_uniq">
|
|
|
+ <BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_uniq>
|
|
|
+ <xsl:for-each select="$sources/sources/source">
|
|
|
+ <xsl:variable name="source" select="."/>
|
|
|
+ <xsl:for-each-group select="$BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed//person[@source=$source]" group-by="@key">
|
|
|
+ <person>
|
|
|
+ <xsl:attribute name="key" select="@key"/>
|
|
|
+ <xsl:attribute name="source" select="$source"/>
|
|
|
+ </person>
|
|
|
+ </xsl:for-each-group>
|
|
|
+ </xsl:for-each>
|
|
|
+ </BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_uniq>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:for-each select="$sources/sources/source">
|
|
|
+ <xsl:variable name="source" select="."/>
|
|
|
+ <xsl:message>#MSIG_286 Powiązania do person z KRS ogólnie (podział na źródła) = <xsl:value-of select="."/></xsl:message>
|
|
|
+ <topichead navtitle="żródło:{.} Powiązania do osób z MSIG ogólnie">
|
|
|
+ <xsl:for-each select="$BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_uniq//person[@source=$source]">
|
|
|
+
|
|
|
+ <xsl:for-each-group select="$interested_row/interested_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[object[position() = 1]/*/source= $source]/object/BI_audit_MSIG_person[ system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'') = current()/@key ]" group-by=" system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'')">
|
|
|
+ <xsl:variable name="group_name" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'')"/>
|
|
|
+ <!--<topichead navtitle="{object[position() = last()]/*/concat(Pelna_nazwa_kontrahenta,' ',Miejscowosc,' ',NIP)} powiązań ({ count( current-group())}) ">-->
|
|
|
+
|
|
|
+ <!--<xsl:choose>
|
|
|
+ <xsl:when test="//BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_old/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/object[ position() = last()]/BI_audit_ENERGA_RUM_KONTRAHENCI/ID=$BI_audit_ENERGA_RUM_KONTRAHENCI.ID">-->
|
|
|
+ <xsl:message>#MSIG_533 counting ile person <xsl:value-of select="count($BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed//person[@key = $group_name])"/></xsl:message>
|
|
|
+ <xsl:choose> <!-- testowanie czy jest w roznych zrodlach ten sam pesel -->
|
|
|
+ <xsl:when test="count($BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed//person[@key = $group_name]) > 1">
|
|
|
+ <!-- pierwszy vs obecny _row powiazania z danym PESEL-->
|
|
|
+ <xsl:variable name="min" select="$interested_row/interested_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[ object/BI_audit_MSIG_person[ system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'') = $group_name ]][1]/@pos"/>
|
|
|
+ <xsl:variable name="curr" select="../.././@pos"/>
|
|
|
+ <xsl:message>#MSIG_538 pozycja $min = <xsl:value-of select="$min"/> ; curr = <xsl:value-of select="$curr"/> $group_name = <xsl:value-of select="$group_name"/> ; position()=<xsl:value-of select="position()"/> </xsl:message>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$curr = $min and position() = 1">
|
|
|
+ <xsl:message>#MSIG_547 - generating first occurence of <xsl:value-of select="$group_name"/></xsl:message>
|
|
|
+ <xsl:comment>#MSIG_538 pos <xsl:value-of select="$curr"/></xsl:comment>
|
|
|
+ <!--<xsl:copy-of select="../../."/>-->
|
|
|
+ <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person" select="." >
|
|
|
+ <xsl:with-param name="group_name" select="$group_name"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:variable name="refpos" select="concat($group_name,'_', position())"/>
|
|
|
+ <topicref href="{$group_name}/{$refpos}.dita"/>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:message>#MSIG_522 otherwise</xsl:message>
|
|
|
+ <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person" select="." >
|
|
|
+ <xsl:with-param name="group_name" select="$group_name"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:for-each-group>
|
|
|
+ </xsl:for-each>
|
|
|
+ </topichead>
|
|
|
+ </xsl:for-each>
|
|
|
+ </topichead>
|
|
|
+
|
|
|
<!--<topichead navtitle="Do wykonania - błędne numery NIP w kontrahentach wskazujące na spółkę ENERGII!"></topichead>-->
|
|
|
|
|
|
|
|
|
@@ -1061,7 +1231,7 @@
|
|
|
<title>Analiza podpisywanych umow w RUM [] - Osoby merytoryczne (1). </title>
|
|
|
<xsl:message>#1106 Analiza podpisywanych umow w RUM - Osoby merytoryczne. </xsl:message>
|
|
|
<body>
|
|
|
- <simpletable frame="all" id="simpgletablesss_inaaz_fwf_{generate-id()}" system_cache__dita:width_cols="auto" > <!-- system_cache__dita:width_cols="10" system_cache__dita:bypass_rows_with_zero="true" system_cache__dita:bypass_rows_empty="true" -->
|
|
|
+ <simpletable frame="all" id="simpgletablesss_inaaz_fwf_{generate-id()}" system_cache__dita:width_cols="auto" system_cache__dita:bypass_rows_with_zero="true" system_cache__dita:bypass_rows_empty="true"> <!-- system_cache__dita:width_cols="10" system_cache__dita:bypass_rows_with_zero="true" system_cache__dita:bypass_rows_empty="true" -->
|
|
|
|
|
|
<sthead>
|
|
|
<stentry>Osoba</stentry>
|
|
|
@@ -1229,7 +1399,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <xsl:template match="BI_audit_KRS_person" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person">
|
|
|
+ <xsl:template match="BI_audit_KRS_person|BI_audit_MSIG_person|BI_audit_MSIG" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person">
|
|
|
<xsl:param name="group_name" required="yes"/>
|
|
|
<xsl:variable name="refpos" select="concat($group_name,'_', position())"/>
|
|
|
<xsl:variable name="position" select="position()"/>
|
|
|
@@ -1285,8 +1455,6 @@
|
|
|
</topic>
|
|
|
</xsl:result-document>
|
|
|
</topicref>
|
|
|
-
|
|
|
-
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
@@ -1415,6 +1583,12 @@
|
|
|
KRS: <xsl:value-of select="../../object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>
|
|
|
</xref>
|
|
|
</xsl:when>
|
|
|
+ <xsl:when test="object[ position() = last()]/BI_audit_MSIG">
|
|
|
+ <xsl:variable name="krs" select="../../object[ position() = last()]/*[ position() = 1]/krs"/>
|
|
|
+ <xref href="../{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key($krs)}/{$krs}_1.dita">
|
|
|
+ MSIG: <xsl:value-of select="../../object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>
|
|
|
+ </xref>
|
|
|
+ </xsl:when>
|
|
|
<xsl:when test="object[ position() = last()]/BI_audit_KRS_company">
|
|
|
KRS: <xsl:value-of select="../../object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>
|
|
|
</xsl:when>
|
|
|
@@ -1430,7 +1604,7 @@
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
- <xsl:template match="BI_audit_KRS" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_krs">
|
|
|
+ <xsl:template match="BI_audit_KRS|BI_audit_MSIG" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_krs">
|
|
|
<xsl:param name="group_name" required="yes"/>
|
|
|
<xsl:variable name="refpos" select="concat(krs,'_', position())"/>
|
|
|
<xsl:variable name="position" select="position()"/>
|
|
|
@@ -2350,12 +2524,21 @@
|
|
|
<xsl:when test="BI_audit_KRS_person">
|
|
|
<xref href="../{BI_audit_KRS_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS_person.key(nazwisko,imiona,pesel,'')}/{BI_audit_KRS_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS_person.key(nazwisko,imiona,pesel,'')}_1.dita"/>
|
|
|
</xsl:when>
|
|
|
+ <xsl:when test="BI_audit_MSIG_person">
|
|
|
+ <xref href="../{BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'')}/{BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'')}_1.dita"/>
|
|
|
+ </xsl:when>
|
|
|
<xsl:when test="BI_audit_KRS">
|
|
|
<xref href="../KRSY_{BI_audit_KRS/krs}/{BI_audit_KRS/krs}_1.dita">
|
|
|
<xsl:value-of select="BI_audit_KRS/nazwa"/><xsl:text> </xsl:text>
|
|
|
<xsl:value-of select="BI_audit_KRS/S_miejscowosc"/><xsl:text> </xsl:text>
|
|
|
</xref>
|
|
|
</xsl:when>
|
|
|
+ <xsl:when test="BI_audit_MSIG">
|
|
|
+ <xref href="../{BI_audit_MSIG/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key(krs)}/{BI_audit_MSIG/krs}_1.dita">
|
|
|
+ <xsl:value-of select="BI_audit_MSIG/nazwa"/><xsl:text> </xsl:text>
|
|
|
+ <xsl:value-of select="BI_audit_MSIG/S_miejscowosc"/><xsl:text> </xsl:text>
|
|
|
+ </xref>
|
|
|
+ </xsl:when>
|
|
|
<xsl:otherwise>
|
|
|
<xsl:for-each select="*/*">
|
|
|
<xsl:if test="text() and not(name()='A_STATUS') and not(name()='A_ADM_COMPANY') and not(name()='A_CLASSIFIED') and not(name()='cached') and not(name()='TERYT_SYM') and not(name()='TERYT_SYM_UL') ">
|