Sfoglia il codice sorgente

limity mozna robic...

a.binder 7 anni fa
parent
commit
5b79282464

+ 25 - 19
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_4UA.xsl

@@ -17,7 +17,7 @@
     version="2.0"><!-- system_cache__appinfo system_cache__dita ogr Benford default_db get_wfs p5 p5gnuplot -->
     
     
-    <xsl:param name="system_cache__dita:ANALIZA_UMOW_4UA_preprocess__x3A__table_max" select="10"/>
+    <xsl:param name="system_cache__dita:ANALIZA_UMOW_4UA_preprocess__x3A__table_max" select="500"/>
    
     
     <xsl:output indent="yes"/>
@@ -481,16 +481,18 @@
                     <xsl:with-param name="path.prefix">../</xsl:with-param>
                 </xsl:apply-templates>
                 </p>
-                <xsl:choose>
+                <!--<xsl:choose>
                     <xsl:when test="count($simpletable/simpletable//stentry) &gt;$system_cache__dita:ANALIZA_UMOW_4UA_preprocess__x3A__table_max">
                             <p props="count_166">wielkość zbioru <xsl:value-of select="count($simpletable/simpletable//stentry)"/> - pominięto wyświetlanie tabeli</p>
                         </xsl:when>
                     <xsl:otherwise>
-                        <xsl:call-template name="p5gnuplot:simpletable__x3A__from_rows.xsl.dita__x3A__analyze">
-                            <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
-                        </xsl:call-template>
+                        
                     </xsl:otherwise>
-                </xsl:choose>
+                </xsl:choose>-->
+                
+                <xsl:call-template name="p5gnuplot:simpletable__x3A__from_rows.xsl.dita__x3A__analyze">
+                    <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
+                </xsl:call-template>
             </xsl:when>
             <xsl:otherwise>
                 <!--<p props="214a">
@@ -682,8 +684,8 @@
                     <xsl:with-param name="title"> (APU4-DT) umowy obiektu tabela </xsl:with-param>
                 </xsl:call-template>-->
                 <xsl:choose>
-                    <xsl:when test="count($simpletable/simpletable//stentry) &gt;system_cache__dita:ANALIZA_UMOW_4UA_preprocess__x3A__table_max">
-                        <p props="count_166">wielkość zbioru <xsl:value-of select="count($simpletable/simpletable//stentry) &gt;500"/> - pominięto wyświetlanie tabeli</p>
+                    <xsl:when test="count($simpletable/simpletable//stentry) &gt; $system_cache__dita:ANALIZA_UMOW_4UA_preprocess__x3A__table_max">
+                        <p props="count_444">wielkość zbioru <xsl:value-of select="count($simpletable/simpletable//stentry)"/> - pominięto wyświetlanie tabeli</p>
                     </xsl:when>
                     <xsl:otherwise>
                     <xsl:apply-templates mode="p5gnuplot:simpletable__x3A__from_rows" select="$simpletable">
@@ -693,6 +695,9 @@
                     </xsl:otherwise>
                 </xsl:choose>
                 <xsl:comment>#651</xsl:comment>
+                            <xsl:call-template name="p5gnuplot:simpletable__x3A__from_rows.xsl.dita__x3A__analyze">
+                                <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
+                            </xsl:call-template>
                 <!--<p> (<xsl:value-of select="$graph.name"/>) umowy obiektu wykres </p>-->
                 <foreign>
                     <xsl:copy-of select="$simpletable" copy-namespaces="no"/>
@@ -877,16 +882,17 @@
                     </xsl:apply-templates>
                 <!--</p>-->
                 <!-- ANALIZA WYKRESOW -->
-                    <xsl:choose>
+                    <!--<xsl:choose>
                         <xsl:when test="count($simpletable/simpletable//stentry) &gt; $system_cache__dita:ANALIZA_UMOW_4UA_preprocess__x3A__table_max">
                             <p props="count_166">wielkość zbioru <xsl:value-of select="count($simpletable/simpletable//stentry)"/> - pominięto wyświetlanie tabeli</p>
                         </xsl:when>
                         <xsl:otherwise>
-                    <xsl:call-template name="p5gnuplot:simpletable__x3A__from_rows.xsl.dita__x3A__analyze">
-                        <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
-                    </xsl:call-template>
+                    
                         </xsl:otherwise>
-                    </xsl:choose>
+                    </xsl:choose>-->
+                <xsl:call-template name="p5gnuplot:simpletable__x3A__from_rows.xsl.dita__x3A__analyze">
+                    <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
+                </xsl:call-template>
             </xsl:when>
             <xsl:otherwise>
                 <!--<p props="214a">
@@ -1082,17 +1088,17 @@
                     <xsl:with-param name="path.prefix">../</xsl:with-param>
                 </xsl:apply-templates>
                 <!--</p>-->
-                
-                <xsl:choose>
+                <xsl:call-template name="p5gnuplot:simpletable__x3A__from_rows.xsl.dita__x3A__analyze">
+                    <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
+                </xsl:call-template>
+                <!--<xsl:choose>
                     <xsl:when test="count($simpletable/simpletable//stentry) &gt;$system_cache__dita:ANALIZA_UMOW_4UA_preprocess__x3A__table_max">
                         <p props="count_166">wielkość zbioru <xsl:value-of select="count($simpletable/simpletable//stentry)"/> - pominięto wyświetlanie tabeli</p>
                     </xsl:when>
                     <xsl:otherwise>
-                        <xsl:call-template name="p5gnuplot:simpletable__x3A__from_rows.xsl.dita__x3A__analyze">
-                            <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
-                        </xsl:call-template>
+                        
                     </xsl:otherwise>
-                </xsl:choose>
+                </xsl:choose>-->
                 
                 
             </xsl:when>

+ 2 - 2
SE/schema/default_db_xml_cache.public/default_db/Linear_regression/Linear_regression.xsl

@@ -123,10 +123,10 @@
         <xsl:param name="system_cache__dita:element__x3A__parent" select="'equation-inline'"/>
         <xsl:element name="{$system_cache__dita:element__x3A__parent}">
             <xsl:variable name="Linear_regression:calculate_matrix__x3A__to_dita" select="Linear_regression:calculate_matrix__x3A__to_dita(Linear_regression:XY16/@Linear_regression:XY16.slope.m,Linear_regression:XY16/@Linear_regression:XY16.y-int.b,Linear_regression:XY16/@Linear_regression:XY16.r)"/>
-            <xsl:call-template name="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__assign__id">
+            <!--<xsl:call-template name="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__assign__id">
                 <xsl:with-param name="graph.name">calculate_matrix__x3A__to_dita</xsl:with-param>
                 <xsl:with-param name="Linear_regression:calculate_matrix__x3A__to_dita" select="$Linear_regression:calculate_matrix__x3A__to_dita"/>
-            </xsl:call-template>
+            </xsl:call-template>-->
             <xsl:attribute name="props" select="'Linear_regression.calculate_data__x3A__to_dita'"/>
             <ph>Obliczono <b>Regresję liniową</b>    z następującymi wynikami </ph>
             <ph>trend <i>m</i> : </ph> <b props="Linear_regression.m"><xsl:value-of select="Linear_regression:XY16/@Linear_regression:XY16.slope.m"/></b><xsl:text>; </xsl:text>