|
|
@@ -224,7 +224,8 @@
|
|
|
<!--<DEBUG>
|
|
|
<xsl:copy-of select="$default_db__x3A__BI_audit_BENFORD:valueField"/>
|
|
|
</DEBUG>-->
|
|
|
- <simpletable frame="all" id="BI_audit_BENFORD.deal_analys.contrast.uniques.topic_{$context.dest}{generate-id()}" props="nograph" ><!-- 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" -->
|
|
|
+ <xsl:variable name="generate-id" select="concat($uuid,'BI_audit_BENFORD.deal_analys.contrast.uniques.topic_9_',$src.position,'_',$position,'_',position(),$context.dest,generate-id($current),'__',generate-id($context))"/>
|
|
|
+ <simpletable frame="all" id="BI_audit_BENFORD.deal_analys.contrast.uniques.topic_{$generate-id}{$context.dest}{generate-id()}" props="nograph" ><!-- 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>
|
|
|
@@ -263,25 +264,21 @@
|
|
|
<xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
<xsl:variable name="groupField" select="."/>
|
|
|
<!--<stentry> <xsl:value-of select="count($context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY[*[local-name() = $groupField and text()=$current/*[ local-name()=$groupField]] ]/*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField])"/> ; </stentry>-->
|
|
|
-
|
|
|
<stentry>
|
|
|
+ <xsl:for-each-group select="$context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY[*[local-name() = $groupField and text()=$current/*[ local-name()=$groupField]] ]" group-by="*[local-name()=$groupField]">
|
|
|
+ <xsl:value-of select="count(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField])"/>
|
|
|
+ </xsl:for-each-group>
|
|
|
<xsl:variable name="simpletable">
|
|
|
<simpletable frame="all" id="{$uuid}_ta2ble_int{position()}.{$generate-id}.{generate-id($context[1]//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY[*[local-name() = $groupField [.=$current/*[ local-name()=$groupField]] ]][1])}">
|
|
|
<strow>
|
|
|
- <stentry>
|
|
|
- 0
|
|
|
- </stentry>
|
|
|
+ <stentry>0</stentry>
|
|
|
<xsl:for-each-group select="$context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY[*[local-name() = $groupField and text()=$current/*[ local-name()=$groupField]] ]" group-by="*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField]">
|
|
|
<xsl:sort select="current-grouping-key()" order="ascending" data-type="number"/>
|
|
|
- <stentry>
|
|
|
- <xsl:value-of select="current-grouping-key()"/> il.il.<xsl:value-of select="count(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField])"/>
|
|
|
- </stentry>
|
|
|
+ <stentry>w.<xsl:value-of select="sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField]/number(text()))"/> il.<xsl:value-of select="count(current-group())"/></stentry>
|
|
|
</xsl:for-each-group>
|
|
|
</strow>
|
|
|
<strow>
|
|
|
- <stentry>
|
|
|
- 0
|
|
|
- </stentry>
|
|
|
+ <stentry>0</stentry>
|
|
|
<xsl:for-each-group select="$context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY[*[local-name() = $groupField and text()=$current/*[ local-name()=$groupField]] ]" group-by="*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField]">
|
|
|
<xsl:sort select="@leadingNumber" order="ascending" data-type="number"/>
|
|
|
<stentry>
|
|
|
@@ -308,13 +305,7 @@
|
|
|
</xsl:choose>
|
|
|
</stentry>
|
|
|
|
|
|
-
|
|
|
</xsl:for-each>
|
|
|
- <!-- -->
|
|
|
-
|
|
|
- <!-- -->
|
|
|
-
|
|
|
-
|
|
|
|
|
|
</strow>
|
|
|
<xsl:variable name="generate-id" select="concat($uuid,'BI_audit_BENFORD.deal_analys.contrast.uniques.topic_3_',$src.position,'_',$position,'_',position(),$context.dest,generate-id($current),'__',generate-id($context))"/>
|
|
|
@@ -325,6 +316,7 @@
|
|
|
<xsl:variable name="groupField" select="."/>
|
|
|
|
|
|
<stentry>
|
|
|
+
|
|
|
<xsl:variable name="simpletable">
|
|
|
<simpletable frame="all" id="{$uuid}_table_int{position()}.{$generate-id}.{generate-id($context[1]//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY[*[local-name() = $groupField [.=$current/*[ local-name()=$groupField]] ]][1])}">
|
|
|
<strow>
|
|
|
@@ -372,7 +364,7 @@
|
|
|
</strow>
|
|
|
</simpletable>
|
|
|
|
|
|
-
|
|
|
+ <xsl:variable name="generate-id" select="concat($uuid,'BI_audit_BENFORD.deal_analys.contrast.uniques.topic_6_',$src.position,'_',$position,'_',position(),$context.dest,generate-id($current),'__',generate-id($context))"/>
|
|
|
|
|
|
<!-- -->
|
|
|
<xsl:variable name="simpletable">
|
|
|
@@ -421,7 +413,7 @@
|
|
|
</simpletable>
|
|
|
</xsl:variable>
|
|
|
<xsl:choose>
|
|
|
- <xsl:when test="$simpletable//stentry">
|
|
|
+ <xsl:when test="$simpletable//stentry and 1=2">
|
|
|
<xsl:message>#288-A OKno table @id=<xsl:value-of select="@id"/>; @fid=<xsl:value-of select="@fid"/>;</xsl:message>
|
|
|
<!--<p> statystyka <sub>(prawidłowe wartości w połowie wysokości środku wykresu)</sub> </p>-->
|
|
|
<p>
|