فهرست منبع

a almost - testing...

a.binder 7 سال پیش
والد
کامیت
a475232acf

+ 12 - 12
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal.xsl

@@ -308,34 +308,34 @@
         
         <xsl:choose>
             <xsl:when test="nazwa/text()|Pelna_nazwa_kontrahenta/text()">
-                <p>
+                <ph>
                     <xsl:if test="nazwa/text()"> nazwa: <b><xsl:value-of select="nazwa"/></b></xsl:if>
                     <xsl:if test="Pelna_nazwa_kontrahenta/text()"> nazwa : <b><xsl:value-of select="replace(Pelna_nazwa_kontrahenta,'SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ',' (Sp. z o.o.) ')"/></b></xsl:if>
-                </p>
+                </ph>
             </xsl:when>
         </xsl:choose>
         
         <xsl:choose>
             <xsl:when test="imiona/text()|nazwisko/text()">
-                <p>
+                <ph>
                     <xsl:if test="nazwisko/text()"> nazwisko: <b><xsl:value-of select="nazwisko"/></b></xsl:if>
                     <xsl:if test="imiona/text()"> imiona : <b><xsl:value-of select="imiona"/></b></xsl:if>
-                </p>
+                </ph>
             </xsl:when>
         </xsl:choose>
         
         <xsl:choose>
             <xsl:when test="pesel/text()|PESEL/text()">
-                <p>
+                <ph>
                     <xsl:if test="pesel/text()"> pesel: <b><xsl:value-of select="pesel"/></b></xsl:if>
                     <xsl:if test="PESEL/text()"> PESEL : <b><xsl:value-of select="PESEL"/></b></xsl:if>
-                </p>
+                </ph>
             </xsl:when>
         </xsl:choose>
         
         <xsl:choose>
             <xsl:when test="krs/text()|regon/text()|KRS/text()|REGON/text()|NIP/text()|nip/text()">
-                <p>
+                <ph>
                     <xsl:if test="krs/text()"> KRS: <b><xsl:value-of select="krs"/></b></xsl:if>
                     <xsl:if test="KRS/text()"> KRS: <b><xsl:value-of select="KRS"/></b></xsl:if>
                     <xsl:if test="regon/text()"> Regon: <b><xsl:value-of select="regon"/></b></xsl:if>
@@ -343,24 +343,24 @@
                     <xsl:if test="NIP/text()"> NIP: <b><xsl:value-of select="NIP"/></b></xsl:if>
                     <xsl:if test="nip/text()"> NIP: <b><xsl:value-of select="nip"/></b></xsl:if>
                     
-                </p>
+                </ph>
             </xsl:when>
         </xsl:choose>
         
         <xsl:choose>
             <xsl:when test="S_kraj/text()|S_wojewodztwo/text()">
-                <p>
+                <ph>
                     <xsl:if test="S_kraj/text()"> Kraj: <b><xsl:value-of select="S_kraj"/></b></xsl:if>
                     <xsl:if test="S_wojewodztwo/text()"> Województwo: <b><xsl:value-of select="S_wojewodztwo"/></b></xsl:if>
                     
-                </p>
+                </ph>
             </xsl:when>
         </xsl:choose>
         
         
         <xsl:choose>
             <xsl:when test="A_miejscowosc/text()|Miejscowosc/text()|A_ulica/text()|A_nrDomu/text()|ulica/text()|Numer_budynku/text()|nrLokalu/text()|Numer_mieszkania_lokalu/text()|Ulica/text()">
-                <p>
+                <ph>
                     <xsl:if test="A_miejscowosc/text()"> Miejscowość: <b><xsl:value-of select="A_miejscowosc"/></b></xsl:if>
                     <xsl:if test="Miejscowosc/text()"> Miejscowość: <b><xsl:value-of select="Miejscowosc"/></b></xsl:if>
                     <xsl:if test="A_ulica/text()"> Ulica: <b><xsl:value-of select="A_ulica"/></b></xsl:if>
@@ -371,7 +371,7 @@
                     <xsl:if test="nrLokalu/text()"> lok: <b><xsl:value-of select="nrLokalu"/></b></xsl:if>
                     <xsl:if test="Numer_mieszkania_lokalu/text()"> lok: <b><xsl:value-of select="Numer_mieszkania_lokalu"/></b></xsl:if>
                     
-                </p>
+                </ph>
             </xsl:when>
         </xsl:choose>
         

+ 10 - 6
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl

@@ -1314,7 +1314,6 @@
                                         </topichead>
                                     </xsl:when>
                                 </xsl:choose>
-                                
                             </xsl:for-each-group>
 
                         </topichead>
@@ -2468,12 +2467,14 @@
             <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))}" -->
                     <xsl:copy-of select="system_cache__dita:files.dita_pair.keyref(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]/@fid,BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[  last() ]/*[1]/@fid)" copy-namespaces="no"/>
-                    <!--link-->
+                    link
                     <!--<xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[ position() = 1 ]/concat(imiona,' ',nazwisko,' (',source,')')"/>-->
+                    
                 </xref>
-                <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.middle_ref.note" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() =  1]/*[ position() = 1]/*">
+                <xsl:apply-templates mode="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal.body" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[  last() ]/*[1]"/>
+                <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.middle_ref.note" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() =  1]/*[ position() = 1]/*"/>
                     
-                </xsl:apply-templates>
+                
                 <!--<test>
                     <xsl:copy-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() =  1]/*[ position() = 1]"></xsl:copy-of>
                 </test>-->
@@ -2481,8 +2482,9 @@
             <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))}" -->
                     <xsl:copy-of select="system_cache__dita:files.dita_pair.keyref($context/ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/@fid,$context/ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/@fid)" copy-namespaces="no"/>
-                    <!--link-->
+                    link
                     <!--<xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[ position() = 1 ]/concat(imiona,' ',nazwisko,' (',source,')')"/>-->
+                    <!--<xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.middle_ref.note" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() =  1]/*[ position() = 1]/*"/>-->
                 </xref>
                 <!--<xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.middle_ref.note" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() =  1]/*[ position() = 1]/*">
                     
@@ -2496,8 +2498,10 @@
                 <xsl:text> </xsl:text>
                 <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-->
+                    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>
                     <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_ENERGA_RUM_KONTRAHENCI">
                         <xsl:text>(kontr.) </xsl:text>