|
@@ -26,29 +26,33 @@
|
|
|
|
|
|
|
|
<xsl:template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys">
|
|
<xsl:template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys">
|
|
|
<xsl:param name="title" select="'BI_audit_BENFORD.deal_analys'"/>
|
|
<xsl:param name="title" select="'BI_audit_BENFORD.deal_analys'"/>
|
|
|
- <xsl:param name="default_db__x3A__BI_audit_BENFORD:valueField" required="yes"/>
|
|
|
|
|
- <xsl:param name="default_db__x3A__BI_audit_BENFORD:groupField" required="yes"/>
|
|
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:valueField" required="yes" tunnel="yes"/>
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:groupField" required="yes" tunnel="yes"/>
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:NameField" required="yes" tunnel="yes"/>
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:timeField" required="yes" tunnel="yes"/>
|
|
|
<xsl:message>#29 RUN default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys - should be once</xsl:message>
|
|
<xsl:message>#29 RUN default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys - should be once</xsl:message>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keydef(.,'map',$title)" copy-namespaces="no"/>
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keydef(.,'map',$title)" copy-namespaces="no"/>
|
|
|
<topicref props="BI_audit_BENFORD.deal_analys">
|
|
<topicref props="BI_audit_BENFORD.deal_analys">
|
|
|
<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.key.title.context.href(current(),'map',$title)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keys(current(),$title)" copy-namespaces="no"/>
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keys(current(),$title)" copy-namespaces="no"/>
|
|
|
<xsl:result-document href="{system_cache__dita:files.key.href.write.topic.title.context(.,$title)}">
|
|
<xsl:result-document href="{system_cache__dita:files.key.href.write.topic.title.context(.,$title)}">
|
|
|
-
|
|
|
|
|
<topic id="{$uuid}_{position()}_{$title}__{ generate-id()}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
<topic id="{$uuid}_{position()}_{$title}__{ generate-id()}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
- xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd">
|
|
|
|
|
|
|
+ xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd" props="benford.BAKU">
|
|
|
<title>
|
|
<title>
|
|
|
- analiza kontrastowa umów ( próbki po <xsl:value-of select="$default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.examples.param"/> przykładów )
|
|
|
|
|
|
|
+ analiza kontrastowa umów (BAKU) ( próbki po <xsl:value-of select="$default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.examples.param"/> przykładów )
|
|
|
</title>
|
|
</title>
|
|
|
<body>
|
|
<body>
|
|
|
<!--<xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.overwiev_table_1"/>
|
|
<!--<xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.overwiev_table_1"/>
|
|
|
<xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.overwiev_table_1.graph"/>-->
|
|
<xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.overwiev_table_1.graph"/>-->
|
|
|
<xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast">
|
|
<xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast">
|
|
|
- <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
|
|
|
|
|
- <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
|
|
|
|
|
|
|
+ <!-- <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes" />
|
|
|
|
|
+ <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes" />
|
|
|
|
|
+ <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
|
|
|
|
|
+ <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>-->
|
|
|
<xsl:with-param name="debug" select="'#49 std call analys'"/>
|
|
<xsl:with-param name="debug" select="'#49 std call analys'"/>
|
|
|
</xsl:call-template>
|
|
</xsl:call-template>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
+
|
|
|
<!--<xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI.BI_audit_ENERGA_FAKTURY_vs_BI_audit_ENERGA_RUM_UMOWY">
|
|
<!--<xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI.BI_audit_ENERGA_FAKTURY_vs_BI_audit_ENERGA_RUM_UMOWY">
|
|
|
<xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys" select=".">
|
|
<xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys" select=".">
|
|
|
<xsl:with-param name="group_name" select="$title"/>
|
|
<xsl:with-param name="group_name" select="$title"/>
|
|
@@ -72,8 +76,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast">
|
|
<xsl:template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast">
|
|
|
- <xsl:param name="default_db__x3A__BI_audit_BENFORD:groupField" required="yes"/>
|
|
|
|
|
- <xsl:param name="default_db__x3A__BI_audit_BENFORD:valueField" required="yes"/>
|
|
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:groupField" required="yes" tunnel="yes"/>
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:valueField" required="yes" tunnel="yes"/>
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:NameField" required="yes" tunnel="yes" />
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:timeField" required="yes" tunnel="yes" />
|
|
|
<xsl:param name="debug"/>
|
|
<xsl:param name="debug"/>
|
|
|
<xsl:variable name="context" select="."/>
|
|
<xsl:variable name="context" select="."/>
|
|
|
<xsl:message>#77 context is name =<xsl:value-of select="$context/name()"/>; $debug=<xsl:value-of select="$debug"/>;</xsl:message>
|
|
<xsl:message>#77 context is name =<xsl:value-of select="$context/name()"/>; $debug=<xsl:value-of select="$debug"/>;</xsl:message>
|
|
@@ -96,8 +102,8 @@
|
|
|
<xsl:with-param name="context.source" select="$context.source"/>
|
|
<xsl:with-param name="context.source" select="$context.source"/>
|
|
|
<xsl:with-param name="context.dest" select="$context.dest"/>
|
|
<xsl:with-param name="context.dest" select="$context.dest"/>
|
|
|
<xsl:with-param name="context" select="$context"/>
|
|
<xsl:with-param name="context" select="$context"/>
|
|
|
- <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField"/>
|
|
|
|
|
- <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField"/>
|
|
|
|
|
|
|
+ <!--<xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField"/>-->
|
|
|
|
|
+ <!--<xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField"/>-->
|
|
|
</xsl:call-template>
|
|
</xsl:call-template>
|
|
|
<!--<xsl:result-document href="/tmp/testout">
|
|
<!--<xsl:result-document href="/tmp/testout">
|
|
|
<DEBUG_COPY>
|
|
<DEBUG_COPY>
|
|
@@ -119,40 +125,64 @@
|
|
|
<xsl:param name="context.source" required="yes"/>
|
|
<xsl:param name="context.source" required="yes"/>
|
|
|
<xsl:param name="context.dest" required="yes"/>
|
|
<xsl:param name="context.dest" required="yes"/>
|
|
|
<xsl:param name="context" required="yes"/>
|
|
<xsl:param name="context" required="yes"/>
|
|
|
- <xsl:param name="default_db__x3A__BI_audit_BENFORD:valueField" required="yes"/>
|
|
|
|
|
- <xsl:param name="default_db__x3A__BI_audit_BENFORD:groupField" required="yes"/>
|
|
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:valueField" required="yes" tunnel="yes"/>
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:groupField" required="yes" tunnel="yes"/>
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:NameField" required="yes" tunnel="yes" />
|
|
|
|
|
+ <xsl:param name="default_db__x3A__BI_audit_BENFORD:timeField" required="yes" tunnel="yes" />
|
|
|
<xsl:message>#96 default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques - $context.source=<xsl:value-of select="$context.source"/> to $context.dest =<xsl:value-of select="$context.dest"/>; </xsl:message>
|
|
<xsl:message>#96 default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques - $context.source=<xsl:value-of select="$context.source"/> to $context.dest =<xsl:value-of select="$context.dest"/>; </xsl:message>
|
|
|
- <xsl:for-each-group select="$context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY" group-by="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber"><!-- *[local-name()=$context.source]/text() -->
|
|
|
|
|
- <xsl:sort select="sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField])" order="descending" data-type="number"/>
|
|
|
|
|
- <xsl:variable name="context.source.group" select="current-group()"/>
|
|
|
|
|
- <xsl:variable name="source.remote.join.val" select="*[local-name()=$context.dest]"/>
|
|
|
|
|
- <xsl:variable name="source.remote.join.val.leadingNumber" select="current-grouping-key()"/>
|
|
|
|
|
- <xsl:variable name="src.position" select="position()"/>
|
|
|
|
|
- <xsl:message>#98 $source.remote.join.val=<xsl:value-of select="$source.remote.join.val"/>; cnt = <xsl:value-of select="count(current-group())"/>/<xsl:value-of select="last()"/>; *join=<xsl:value-of select="*[local-name()=$context.dest]/text()"/>; *join=<xsl:value-of select="*[local-name()=$context.source]/text()"/> for current-grouping-key = <xsl:value-of select="current-grouping-key()"/>; name=<xsl:value-of select="name()"/>; $context.source=<xsl:value-of select="$context.source"/> to $context.dest =<xsl:value-of select="$context.dest"/>; position()=<xsl:value-of select="position()"/></xsl:message>
|
|
|
|
|
-
|
|
|
|
|
- <xsl:for-each-group select="$context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY[*[local-name() = $context.dest] and ancestor-or-self::*[@leadingNumber = $source.remote.join.val.leadingNumber ] ]" group-by="concat($source.remote.join.val.leadingNumber,*[local-name()=$context.dest]/text())">
|
|
|
|
|
- <xsl:sort select="sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField])" data-type="number" order="descending"/>
|
|
|
|
|
- <xsl:message>#129 current <xsl:value-of select="name()"/>; count=<xsl:value-of select="count(current-group())"/>; *join=<xsl:value-of select="*[local-name()=$context.dest]/text()"/>; *join=<xsl:value-of select="*[local-name()=$context.source]/text()"/>; posss=<xsl:value-of select="position()"/></xsl:message>
|
|
|
|
|
- <xsl:choose>
|
|
|
|
|
- <xsl:when test="position() < $default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.examples.param">
|
|
|
|
|
- <xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques" select=".">
|
|
|
|
|
- <xsl:with-param name="context.source" select="$context.source"/>
|
|
|
|
|
- <xsl:with-param name="context.source.val" select="current-grouping-key()"/>
|
|
|
|
|
- <xsl:with-param name="context.dest" select="$context.dest"/>
|
|
|
|
|
- <xsl:with-param name="source.remote.join.val.leadingNumber" select="$source.remote.join.val.leadingNumber"/>
|
|
|
|
|
- <xsl:with-param name="context" select="$context"/>
|
|
|
|
|
- <xsl:with-param name="current" select="."/>
|
|
|
|
|
- <xsl:with-param name="position" select="position()"/>
|
|
|
|
|
- <xsl:with-param name="context.source.group" select="$context.source.group"/>
|
|
|
|
|
- <xsl:with-param name="src.position" select="$src.position"/>
|
|
|
|
|
- <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField"/>
|
|
|
|
|
- <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField"/>
|
|
|
|
|
- </xsl:apply-templates>
|
|
|
|
|
- </xsl:when>
|
|
|
|
|
- </xsl:choose>
|
|
|
|
|
|
|
+ <xsl:variable name="contrast.stentry">
|
|
|
|
|
+ <xsl:for-each-group select="$context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY" group-by="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber"><!-- *[local-name()=$context.source]/text() -->
|
|
|
|
|
+ <xsl:sort select="sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField])" order="descending" data-type="number"/>
|
|
|
|
|
+ <xsl:variable name="context.source.group" select="current-group()"/>
|
|
|
|
|
+ <xsl:variable name="source.remote.join.val" select="*[local-name()=$context.dest]"/>
|
|
|
|
|
+ <xsl:variable name="source.remote.join.val.leadingNumber" select="current-grouping-key()"/>
|
|
|
|
|
+ <xsl:variable name="src.position" select="position()"/>
|
|
|
|
|
+ <xsl:message>#98 $source.remote.join.val=<xsl:value-of select="$source.remote.join.val"/>; cnt = <xsl:value-of select="count(current-group())"/>/<xsl:value-of select="last()"/>; *join=<xsl:value-of select="*[local-name()=$context.dest]/text()"/>; *join=<xsl:value-of select="*[local-name()=$context.source]/text()"/> for current-grouping-key = <xsl:value-of select="current-grouping-key()"/>; name=<xsl:value-of select="name()"/>; $context.source=<xsl:value-of select="$context.source"/> to $context.dest =<xsl:value-of select="$context.dest"/>; position()=<xsl:value-of select="position()"/></xsl:message>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <xsl:for-each-group select="$context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY[*[local-name() = $context.dest] and ancestor-or-self::*[@leadingNumber = $source.remote.join.val.leadingNumber ] ]" group-by="concat($source.remote.join.val.leadingNumber,*[local-name()=$context.dest]/text())">
|
|
|
|
|
+ <xsl:sort select="sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField])" data-type="number" order="descending"/>
|
|
|
|
|
+ <xsl:message>#129 current <xsl:value-of select="name()"/>; count=<xsl:value-of select="count(current-group())"/>; *join=<xsl:value-of select="*[local-name()=$context.dest]/text()"/>; *join=<xsl:value-of select="*[local-name()=$context.source]/text()"/>; posss=<xsl:value-of select="position()"/></xsl:message>
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="position() < $default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.examples.param">
|
|
|
|
|
+ <stentry>
|
|
|
|
|
+ <xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques" select=".">
|
|
|
|
|
+ <xsl:with-param name="context.source" select="$context.source"/>
|
|
|
|
|
+ <xsl:with-param name="context.source.val" select="current-grouping-key()"/>
|
|
|
|
|
+ <xsl:with-param name="context.dest" select="$context.dest"/>
|
|
|
|
|
+ <xsl:with-param name="source.remote.join.val.leadingNumber" select="$source.remote.join.val.leadingNumber"/>
|
|
|
|
|
+ <xsl:with-param name="context" select="$context"/>
|
|
|
|
|
+ <xsl:with-param name="current" select="."/>
|
|
|
|
|
+ <xsl:with-param name="position" select="position()"/>
|
|
|
|
|
+ <xsl:with-param name="context.source.group" select="$context.source.group"/>
|
|
|
|
|
+ <xsl:with-param name="src.position" select="$src.position"/>
|
|
|
|
|
+ <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField"/>
|
|
|
|
|
+ <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField"/>
|
|
|
|
|
+ </xsl:apply-templates>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
</xsl:for-each-group>
|
|
</xsl:for-each-group>
|
|
|
- </xsl:for-each-group>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <!--<topic ><!-\- id="{system_cache__dita:files.key.topic.title.id.context.value($context,'BI_audit_BENFORD.deal_analys')}" -\->
|
|
|
|
|
+ <title/>
|
|
|
|
|
+ <body>-->
|
|
|
|
|
+ <simpletable props="nograph" frame="bottom">
|
|
|
|
|
+ <xsl:for-each-group select="$contrast.stentry/stentry" group-by="ceiling(position() div 4)">
|
|
|
|
|
+ <strow>
|
|
|
|
|
+ <xsl:copy-of select="current-group()"/>
|
|
|
|
|
+ <xsl:if test="last()">
|
|
|
|
|
+ <xsl:comment>#165 last <xsl:value-of select="count(current-group())"/></xsl:comment>
|
|
|
|
|
+ <xsl:for-each select="count(current-group()) to 3">
|
|
|
|
|
+ <stentry/>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </xsl:if>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </simpletable>
|
|
|
|
|
+ <!--</body>
|
|
|
|
|
+ </topic>-->
|
|
|
</xsl:template>
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -178,17 +208,263 @@
|
|
|
<xsl:param name="default_db__x3A__BI_audit_BENFORD:groupField" required="yes"/>
|
|
<xsl:param name="default_db__x3A__BI_audit_BENFORD:groupField" required="yes"/>
|
|
|
<!--<xsl:param name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber" required="yes"/>-->
|
|
<!--<xsl:param name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber" required="yes"/>-->
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <xsl:variable name="generate-id" select="concat($uuid,'BI_audit_BENFORD.deal_analys.contrast.uniques.topic_10_',$src.position,'_',$position,'_',position(),$context.dest,generate-id($current),'__',generate-id($context))"/>
|
|
|
|
|
+ <xsl:variable name="simpletable">
|
|
|
|
|
+ <!--<title>BAKU-X</title>-->
|
|
|
|
|
+ <simpletable frame="all" id="uniques.topic_{$generate-id}{$context.dest}{generate-id()}" props=" ylabel.benford graph.y2label.koszt graph.style.histogram " ><!-- font15 -->
|
|
|
|
|
+ <xsl:variable name="graph.headers">
|
|
|
|
|
+ <strow props="graph.headers">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <!--<stentry props="graph.xtic">
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/>
|
|
|
|
|
+ </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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber"><!-- *[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField] -->
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <!--<stentry ><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat(ancestor-or-self::*[@leadingNumber][1]/@leadingNumber,'-',*[local-name()=$groupField]))"/></stentry>-->
|
|
|
|
|
+ <!--<stentry ><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(*[local-name()=$groupField]"/></stentry>-->
|
|
|
|
|
+ <!--<stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat('$',ancestor-or-self::*[@leadingNumber][1]/@leadingNumber))"/></stentry>-->
|
|
|
|
|
+ <stentry current-grouping-key="{current-grouping-key()}" props="graph.xtic pos_{position()} row_1 {$groupField} {current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(current-grouping-key())"/><!--<xsl:value-of select="position()"/><xsl:value-of select="$groupField"/>-->
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ <stentry current-grouping-key="{current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(current-grouping-key())"/><!--<xsl:value-of select="position()"/><xsl:value-of select="$groupField"/>-->
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ <stentry current-grouping-key="{current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(current-grouping-key())"/><!--<xsl:value-of select="position()"/><xsl:value-of select="$groupField"/>-->
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow >
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:variable name="graph.all.data.fit">
|
|
|
|
|
+ <strow props="graph.all.data.fit">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+
|
|
|
|
|
+ <stentry props="pos_{position()} row_3 {$groupField} {current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="current-grouping-key()"/>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:variable name="graph.data">
|
|
|
|
|
+ <strow props="graph.data">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <!--<stentry>
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/>
|
|
|
|
|
+ </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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry audience="{system_cache__dita:graph.audience(system_cache__dita:localname.translate($groupField),*[local-name() = $groupField ])}" props="pos_{position()} row_1 {$groupField} {current-grouping-key()} value" current-grouping-key="{current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="ancestor-or-self::*[@leadingNumber][1]/value"/>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ <stentry audience="{system_cache__dita:graph.audience(system_cache__dita:localname.translate($groupField),*[local-name() = $groupField ])}" props="pos_{position()} row_2 {$groupField} {current-grouping-key()} norm" current-grouping-key="{current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="ancestor-or-self::*[@leadingNumber][1]/norm"/>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ <stentry audience="{system_cache__dita:graph.audience(system_cache__dita:localname.translate($groupField),*[local-name() = $groupField ])}" props="pos_{position()} row_3 {$groupField} {current-grouping-key()} sum" current-grouping-key="{current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField]/number(text()))"/>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:variable name="graph.title">
|
|
|
|
|
+ <strow props="graph.title">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <!--<stentry>
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/>
|
|
|
|
|
+ </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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry audience="{system_cache__dita:graph.audience(system_cache__dita:localname.translate($groupField),*[local-name() = $groupField ])}" group="{system_cache__dita:graph.title.group(current-grouping-key(),system_cache__dita:localname.translate($groupField),*[local-name()=$groupField])}" current-grouping-key="{current-grouping-key()}" props="pos_{position()} row_1 {$groupField} {current-grouping-key()}">"wartość <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/> <xsl:value-of select="*[local-name()=$groupField]"/>"</stentry>
|
|
|
|
|
+ <stentry audience="{system_cache__dita:graph.audience(system_cache__dita:localname.translate($groupField),*[local-name() = $groupField ])}" group="{system_cache__dita:graph.title.group(current-grouping-key(),system_cache__dita:localname.translate($groupField),*[local-name()=$groupField])}" current-grouping-key="{current-grouping-key()}" props="pos_{position()} row_2 {$groupField} {current-grouping-key()}">"norma <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/> <xsl:value-of select="*[local-name()=$groupField]"/>"</stentry>
|
|
|
|
|
+ <stentry audience="{system_cache__dita:graph.audience(system_cache__dita:localname.translate($groupField),*[local-name() = $groupField ])}" group="{system_cache__dita:graph.title.group(current-grouping-key(),system_cache__dita:localname.translate($groupField),*[local-name()=$groupField])}" current-grouping-key="{current-grouping-key()}" props="pos_{position()} row_3 {$groupField} {current-grouping-key()}">"koszt <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/> <xsl:value-of select="*[local-name()=$groupField]"/>"</stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:variable name="graph.color.name">
|
|
|
|
|
+ <strow props="graph.color.name">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <!--<stentry>
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/>
|
|
|
|
|
+ </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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry >blue</stentry>
|
|
|
|
|
+ <stentry >green</stentry>
|
|
|
|
|
+ <stentry >red</stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:variable name="graph.yaxis">
|
|
|
|
|
+ <strow props="graph.yaxis">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <!--<stentry>
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/>
|
|
|
|
|
+ </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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry/>
|
|
|
|
|
+ <stentry/>
|
|
|
|
|
+ <stentry>2</stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:variable name="graph.fill.style">
|
|
|
|
|
+ <strow props="graph.fill.style">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <!--<stentry>
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/>
|
|
|
|
|
+ </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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry props="graph.notitle"><!-- props="graph.notitle" -->
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="string-length($default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.values.graph.fill.style) >1">
|
|
|
|
|
+ <xsl:value-of select="$default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.values.graph.fill.style"/>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:otherwise> fc "blue" </xsl:otherwise><!-- with boxes -->
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ <stentry props="graph.notitle"><!-- props="graph.notitle" -->
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="string-length($default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.norm.graph.fill.style) >1">
|
|
|
|
|
+ <xsl:value-of select="$default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.norm.graph.fill.style"/>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:otherwise> fc "green" </xsl:otherwise><!-- with boxes -->
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ <stentry props="graph.notitle"><!-- props="graph.notitle" -->
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="1=2 and string-length($default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.cost.graph.fill.style) >1">
|
|
|
|
|
+ <xsl:value-of select="$default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.cost.graph.fill.style"/>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:otherwise> lw 2 </xsl:otherwise><!-- with impulses -->
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:variable name="graph.newhistogram">
|
|
|
|
|
+ <strow props="graph.newhistogram">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <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]/text()"><!-- ancestor-or-self::*[@leadingNumber][1]/@leadingNumber -->
|
|
|
|
|
+ <xsl:sort select="*[ local-name()=$default_db__x3A__BI_audit_BENFORD:groupField]/number(text())" order="descending" data-type="number"/><!-- ancestor-or-self::*[@leadingNumber][1] -->
|
|
|
|
|
+ <!--<stentry props="graph.notitle"><xsl:value-of select="$default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.values.graph.fill.style"/></stentry>
|
|
|
|
|
+ <stentry props="graph.notitle"></stentry>
|
|
|
|
|
+ <stentry props="graph.notitle"><xsl:value-of select="$default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.cost.graph.fill.style"/></stentry>
|
|
|
|
|
+ -->
|
|
|
|
|
+ <!--<stentry props="pos_{position()} row_1 {$groupField} {current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:graph.lingstring__x3A__break(system_cache__dita:localname.translate($groupField),10)"/>
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:graph.lingstring__x3A__break(*[local-name() = $groupField ],15)"/>
|
|
|
|
|
+ </stentry>-->
|
|
|
|
|
+ <!--<stentry props="pos_{position()} row_2 {$groupField} {current-grouping-key()}">
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:graph.lingstring__x3A__break(system_cache__dita:localname.translate($groupField),15)"/>
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:graph.lingstring__x3A__break(*[local-name() = $groupField ],15) "/>
|
|
|
|
|
+ </stentry>-->
|
|
|
|
|
+ <stentry props="pos_{position()} row_3 {$groupField} {current-grouping-key()}" audience="{system_cache__dita:graph.audience(system_cache__dita:localname.translate($groupField),*[local-name() = $groupField ])}">
|
|
|
|
|
+ <xsl:value-of select="system_cache__dita:localname.translate($groupField)"/><!-- system_cache__dita:graph.lingstring__x3A__break -->
|
|
|
|
|
+ <xsl:value-of select="*[local-name() = $groupField ]"/><!-- system_cache__dita:graph.lingstring__x3A__break( -->
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:call-template name="system_cache__dita:graph.all.data.fit.fix">
|
|
|
|
|
+ <xsl:with-param name="graph.basecolumns.count" select="3"/>
|
|
|
|
|
+ <xsl:with-param name="graph.headers" select="$graph.headers"/>
|
|
|
|
|
+ <xsl:with-param name="graph.data" select="$graph.data"/>
|
|
|
|
|
+ <xsl:with-param name="graph.title" select="$graph.title"/>
|
|
|
|
|
+ <xsl:with-param name="graph.color.name" select="$graph.color.name"/>
|
|
|
|
|
+ <xsl:with-param name="graph.yaxis" select="$graph.yaxis"/>
|
|
|
|
|
+ <xsl:with-param name="graph.fill.style" select="$graph.fill.style"/>
|
|
|
|
|
+ <xsl:with-param name="graph.newhistogram" select="$graph.newhistogram"/>
|
|
|
|
|
+ <xsl:with-param name="graph.all.data.fit" select="$graph.all.data.fit"/>
|
|
|
|
|
+ </xsl:call-template>
|
|
|
|
|
+ </simpletable>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="$simpletable//stentry">
|
|
|
|
|
+ <p> </p><!-- (BAKUX-) wykres -->
|
|
|
|
|
+ <foreign>
|
|
|
|
|
+ <xsl:copy-of select="$simpletable" copy-namespaces="no"/>
|
|
|
|
|
+ </foreign>
|
|
|
|
|
+ <p> <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
|
|
+ <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
|
|
|
|
|
+ <xsl:with-param name="width" select="170"/>
|
|
|
|
|
+ <xsl:with-param name="height" select="200"/>
|
|
|
|
|
+ <xsl:with-param name="path.prefix">../</xsl:with-param>
|
|
|
|
|
+ </xsl:apply-templates>
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:otherwise>
|
|
|
|
|
+ <p props="302">
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </xsl:otherwise>
|
|
|
|
|
+ </xsl:choose>
|
|
|
<p>
|
|
<p>
|
|
|
- <menucascade>
|
|
|
|
|
- <uicontrol>liczba</uicontrol>
|
|
|
|
|
- <uicontrol><varname><xsl:value-of select="$source.remote.join.val.leadingNumber"/></varname></uicontrol>
|
|
|
|
|
|
|
+ <simpletable props="nograph" frame="bottom">
|
|
|
|
|
+ <strow>
|
|
|
|
|
+ <stentry><sub>liczba</sub></stentry>
|
|
|
|
|
+ <stentry><sub>wart.</sub></stentry>
|
|
|
|
|
+ <stentry><sub>ilość</sub></stentry>
|
|
|
|
|
+
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ <strow>
|
|
|
|
|
+ <stentry><sub><xsl:value-of select="$source.remote.join.val.leadingNumber"/></sub></stentry>
|
|
|
|
|
+ <stentry><sub><xsl:value-of select="sum($context.source.group[1]/*[local-name()=$context.source][1]/number(text()))"/></sub></stentry>
|
|
|
|
|
+ <stentry><sub><xsl:value-of select="count($context.source.group/current-group())"/></sub></stentry>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <strow>
|
|
|
|
|
+ <stentry><sub><xsl:value-of select="system_cache__dita:localname.translate($context.dest)"/></sub></stentry>
|
|
|
|
|
+ <stentry><sub>
|
|
|
|
|
+ <xsl:variable name="system_cache__dita:indexterm.index-see-also">
|
|
|
|
|
+ <xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
|
|
+ <xsl:variable name="groupField" select="."/>
|
|
|
|
|
+ <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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <xsl:copy-of select="system_cache__dita:indexterm.index-see-also(*[local-name()=$groupField],'')"/><!-- system_cache__dita:localname.translate($groupField) -->
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:call-template name="system_cache__dita:indexterm">
|
|
|
|
|
+ <xsl:with-param name="indexterm" select="$current[1]/*[local-name()=$context.dest]/text()"/>
|
|
|
|
|
+ <xsl:with-param name="system_cache__dita:indexterm" select="system_cache__dita:indexterm('BAKU',system_cache__dita:localname.translate($context.dest))"/>
|
|
|
|
|
+ <xsl:with-param name="system_cache__dita:indexterm.index-see" select="system_cache__dita:indexterm.index-see($current[1]/*[local-name()=$context.dest]/text(),'')"/>
|
|
|
|
|
+ <xsl:with-param name="system_cache__dita:indexterm.index-see-also" select="$system_cache__dita:indexterm.index-see-also"/>
|
|
|
|
|
+ </xsl:call-template>
|
|
|
|
|
+ <!--<xsl:value-of select="$current[1]/*[local-name()=$context.dest]/text()"/>--></sub></stentry>
|
|
|
|
|
+ <stentry><sub><xsl:value-of select="count($current)"/></sub></stentry>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </simpletable>
|
|
|
|
|
+ <!--<menucascade>
|
|
|
|
|
+ <!-\-<uicontrol>liczba</uicontrol>-\->
|
|
|
|
|
+ <!-\-<uicontrol><varname><xsl:value-of select="$source.remote.join.val.leadingNumber"/></varname></uicontrol>-\->
|
|
|
<uicontrol>wart.</uicontrol>
|
|
<uicontrol>wart.</uicontrol>
|
|
|
<uicontrol><varname><xsl:value-of select="sum($context.source.group[1]/*[local-name()=$context.source][1]/number(text()))"/></varname></uicontrol>
|
|
<uicontrol><varname><xsl:value-of select="sum($context.source.group[1]/*[local-name()=$context.source][1]/number(text()))"/></varname></uicontrol>
|
|
|
<uicontrol>ilość</uicontrol>
|
|
<uicontrol>ilość</uicontrol>
|
|
|
<uicontrol><varname><xsl:value-of select="count($context.source.group/current-group())"/></varname></uicontrol>
|
|
<uicontrol><varname><xsl:value-of select="count($context.source.group/current-group())"/></varname></uicontrol>
|
|
|
- </menucascade>
|
|
|
|
|
|
|
+ </menucascade>-->
|
|
|
|
|
|
|
|
- <menucascade>
|
|
|
|
|
|
|
+ <!--<menucascade>
|
|
|
<uicontrol>do</uicontrol>
|
|
<uicontrol>do</uicontrol>
|
|
|
<uicontrol><varname><xsl:value-of select="system_cache__dita:localname.translate($context.dest)"/></varname></uicontrol>
|
|
<uicontrol><varname><xsl:value-of select="system_cache__dita:localname.translate($context.dest)"/></varname></uicontrol>
|
|
|
<uicontrol>wart.</uicontrol>
|
|
<uicontrol>wart.</uicontrol>
|
|
@@ -197,12 +473,11 @@
|
|
|
<uicontrol>ilość</uicontrol>
|
|
<uicontrol>ilość</uicontrol>
|
|
|
<uicontrol><varname><xsl:value-of select="count($current)"/></varname></uicontrol>
|
|
<uicontrol><varname><xsl:value-of select="count($current)"/></varname></uicontrol>
|
|
|
</xsl:if>
|
|
</xsl:if>
|
|
|
- </menucascade>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ </menucascade>-->
|
|
|
|
|
+
|
|
|
</p>
|
|
</p>
|
|
|
-
|
|
|
|
|
<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))"/>
|
|
<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="uniques.topic_{$generate-id}{$context.dest}{generate-id()}" props="nograph font30" ><!-- 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" -->
|
|
|
|
|
|
|
+ <!--<simpletable frame="all" id="uniques.topic_{$generate-id}{$context.dest}{generate-id()}" props="nograph font30" ><!-\- 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 props="dst_cnt">
|
|
<sthead props="dst_cnt">
|
|
|
<stentry><xsl:value-of select="system_cache__dita:localname.translate($default_db__x3A__BI_audit_BENFORD:valueField)"/></stentry>
|
|
<stentry><xsl:value-of select="system_cache__dita:localname.translate($default_db__x3A__BI_audit_BENFORD:valueField)"/></stentry>
|
|
@@ -216,68 +491,18 @@
|
|
|
<stentry><xsl:value-of select="system_cache__dita:localname.translate($default_db__x3A__BI_audit_BENFORD:valueField)"/></stentry>
|
|
<stentry><xsl:value-of select="system_cache__dita:localname.translate($default_db__x3A__BI_audit_BENFORD:valueField)"/></stentry>
|
|
|
<xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
<xsl:for-each select="tokenize($default_db__x3A__BI_audit_BENFORD:groupField,',')">
|
|
|
<xsl:variable name="groupField" select="."/>
|
|
<xsl:variable name="groupField" select="."/>
|
|
|
- <!--<xsl:for-each select="$context//default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD[*[local-name() = $groupField] [ text()=$current/*[ local-name()=$groupField]/text() ]]" >-->
|
|
|
|
|
- <!-- <xsl:choose>
|
|
|
|
|
|
|
+ <!-\-<xsl:for-each select="$context//default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD[*[local-name() = $groupField] [ text()=$current/*[ local-name()=$groupField]/text() ]]" >-\->
|
|
|
|
|
+ <!-\- <xsl:choose>
|
|
|
<xsl:when test="position() > number($default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.table.width.param)"/>
|
|
<xsl:when test="position() > number($default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.table.width.param)"/>
|
|
|
- <xsl:otherwise>-->
|
|
|
|
|
|
|
+ <xsl:otherwise>-\->
|
|
|
<stentry> <xsl:value-of select="$current/*[local-name()=$groupField]/text()"/></stentry>
|
|
<stentry> <xsl:value-of select="$current/*[local-name()=$groupField]/text()"/></stentry>
|
|
|
- <!--</xsl:otherwise>
|
|
|
|
|
- </xsl:choose>-->
|
|
|
|
|
- <!--</xsl:for-each>-->
|
|
|
|
|
- </xsl:for-each>
|
|
|
|
|
- </strow>
|
|
|
|
|
- <xsl:variable name="generate-id" select="concat($uuid,'uniques.topic_4_',$src.position,'_',$position,'_',position(),$context.dest,generate-id($current),'__',generate-id($context))"/>
|
|
|
|
|
- <strow props="dst_val2">
|
|
|
|
|
- <stentry><xsl:value-of select="system_cache__dita:localname.translate($default_db__x3A__BI_audit_BENFORD:valueField)"/></stentry>
|
|
|
|
|
- <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}_AAta2ble_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])}" props="font30 logscale">
|
|
|
|
|
- <strow>
|
|
|
|
|
- <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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber"><!-- *[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField] -->
|
|
|
|
|
- <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
- <stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(string(system_cache__dita:big_values_format(sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField]))))"/></stentry>
|
|
|
|
|
- </xsl:for-each-group>
|
|
|
|
|
- </strow>
|
|
|
|
|
- <strow>
|
|
|
|
|
- <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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
- <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
- <stentry>
|
|
|
|
|
- <xsl:value-of select="round(sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField]/number(text())))"/>
|
|
|
|
|
- </stentry>
|
|
|
|
|
- </xsl:for-each-group>
|
|
|
|
|
- </strow>
|
|
|
|
|
- </simpletable>
|
|
|
|
|
- </xsl:variable>
|
|
|
|
|
- <xsl:choose>
|
|
|
|
|
- <xsl:when test="$simpletable//stentry ">
|
|
|
|
|
- <p>
|
|
|
|
|
- <foreign props="exclude">
|
|
|
|
|
- <xsl:copy-of select="$simpletable" copy-namespaces="no"/>
|
|
|
|
|
- </foreign>
|
|
|
|
|
- </p>
|
|
|
|
|
- <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
|
|
- <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
|
|
|
|
|
- <xsl:with-param name="width" select="100"/>
|
|
|
|
|
- <xsl:with-param name="path.prefix">../</xsl:with-param>
|
|
|
|
|
- </xsl:apply-templates>
|
|
|
|
|
- </xsl:when>
|
|
|
|
|
- <xsl:otherwise>
|
|
|
|
|
- <xsl:message>#319 problem with internakl table </xsl:message>
|
|
|
|
|
- </xsl:otherwise>
|
|
|
|
|
- </xsl:choose>
|
|
|
|
|
- </stentry>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <!-\-</xsl:otherwise>
|
|
|
|
|
+ </xsl:choose>-\->
|
|
|
|
|
+ <!-\-</xsl:for-each>-\->
|
|
|
</xsl:for-each>
|
|
</xsl:for-each>
|
|
|
-
|
|
|
|
|
</strow>
|
|
</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))"/>
|
|
<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))"/>
|
|
|
<strow props="dst_val3">
|
|
<strow props="dst_val3">
|
|
|
|
|
|
|
@@ -288,27 +513,58 @@
|
|
|
<stentry>
|
|
<stentry>
|
|
|
|
|
|
|
|
<xsl:variable name="simpletable">
|
|
<xsl:variable name="simpletable">
|
|
|
- <simpletable frame="all" id="{$uuid}_BBBtable_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])}" props="font30">
|
|
|
|
|
- <strow>
|
|
|
|
|
- <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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber"><!-- *[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField] -->
|
|
|
|
|
|
|
+ <title>BAKU-<xsl:value-of select="position()"/></title>
|
|
|
|
|
+ <simpletable frame="all" id="{$uuid}_BBBtable_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])}" props="font15 graph.style.histogram graph.ylabel.benford graph.y2label.koszt graph.nokey">
|
|
|
|
|
+ <strow props="graph.headers">
|
|
|
|
|
+ <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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber"><!-\- *[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField] -\->
|
|
|
<xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
<xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry props="graph.xtic"><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(ancestor-or-self::*[@leadingNumber][1]/@leadingNumber)"/></stentry>
|
|
|
<stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat('$',ancestor-or-self::*[@leadingNumber][1]/@leadingNumber))"/></stentry>
|
|
<stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(concat('$',ancestor-or-self::*[@leadingNumber][1]/@leadingNumber))"/></stentry>
|
|
|
<stentry>
|
|
<stentry>
|
|
|
<xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(current-grouping-key())"/>
|
|
<xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(current-grouping-key())"/>
|
|
|
</stentry>
|
|
</stentry>
|
|
|
</xsl:for-each-group>
|
|
</xsl:for-each-group>
|
|
|
</strow>
|
|
</strow>
|
|
|
- <strow>
|
|
|
|
|
|
|
+ <strow props="graph.data">
|
|
|
<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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
<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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
<xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
<xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
- <stentry>
|
|
|
|
|
|
|
+ <stentry >
|
|
|
|
|
+ <xsl:value-of select="ancestor-or-self::*[@leadingNumber][1]/value"/>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ <stentry >
|
|
|
<xsl:value-of select="ancestor-or-self::*[@leadingNumber][1]/norm"/>
|
|
<xsl:value-of select="ancestor-or-self::*[@leadingNumber][1]/norm"/>
|
|
|
</stentry>
|
|
</stentry>
|
|
|
<stentry>
|
|
<stentry>
|
|
|
- <xsl:value-of select="ancestor-or-self::*[@leadingNumber][1]/value"/>
|
|
|
|
|
|
|
+ <xsl:value-of select="sum(*[local-name()=$default_db__x3A__BI_audit_BENFORD:valueField]/number(text()))"/>
|
|
|
</stentry>
|
|
</stentry>
|
|
|
</xsl:for-each-group>
|
|
</xsl:for-each-group>
|
|
|
</strow>
|
|
</strow>
|
|
|
|
|
+ <strow props="graph.title">
|
|
|
|
|
+ <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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry>"wartość"</stentry>
|
|
|
|
|
+ <stentry>"norma"</stentry>
|
|
|
|
|
+ <stentry>"koszt"</stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ <strow props="graph.color.name">
|
|
|
|
|
+ <!-\-<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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry>blue</stentry>
|
|
|
|
|
+ <stentry>green</stentry>
|
|
|
|
|
+ <stentry>red</stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ <strow props="graph.fill.style">
|
|
|
|
|
+ <!-\-<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="ancestor-or-self::*[@leadingNumber][1]/@leadingNumber">
|
|
|
|
|
+ <xsl:sort select="ancestor-or-self::*[@leadingNumber][1]" order="ascending" data-type="number"/>
|
|
|
|
|
+ <stentry><xsl:value-of select="$default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.values.graph.fill.style"/></stentry>
|
|
|
|
|
+ <stentry><xsl:value-of select="$default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.norm.graph.fill.style"/></stentry>
|
|
|
|
|
+ <stentry><xsl:value-of select="$default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.cost.graph.fill.style"/></stentry>
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </strow>
|
|
|
</simpletable>
|
|
</simpletable>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
@@ -320,7 +576,7 @@
|
|
|
</p>
|
|
</p>
|
|
|
<xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
<xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
<xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
|
|
<xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
|
|
|
- <xsl:with-param name="width" select="100"/>
|
|
|
|
|
|
|
+ <xsl:with-param name="width" select="150"/>
|
|
|
<xsl:with-param name="path.prefix">../</xsl:with-param>
|
|
<xsl:with-param name="path.prefix">../</xsl:with-param>
|
|
|
</xsl:apply-templates>
|
|
</xsl:apply-templates>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
@@ -332,15 +588,15 @@
|
|
|
|
|
|
|
|
</xsl:for-each>
|
|
</xsl:for-each>
|
|
|
</strow>
|
|
</strow>
|
|
|
- </simpletable>
|
|
|
|
|
|
|
+ </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="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">
|
|
|
|
|
|
|
+ <!--<xsl:variable name="simpletable">
|
|
|
<simpletable frame="all" id="{$uuid}BI_audit_BENFORD.deal_analys.contrast.uniques.topic_2_{$src.position}_{$position}_{position()}{$context.dest}{generate-id($current)}__{generate-id($context)}" props="print__no">
|
|
<simpletable frame="all" id="{$uuid}BI_audit_BENFORD.deal_analys.contrast.uniques.topic_2_{$src.position}_{$position}_{position()}{$context.dest}{generate-id($current)}__{generate-id($context)}" props="print__no">
|
|
|
<strow props="graph_fld">
|
|
<strow props="graph_fld">
|
|
|
- <xsl:for-each-group select="current-group()/*[local-name()=$context.dest]" group-by="text()"><!-- $context.dest.val.group/ -->
|
|
|
|
|
|
|
+ <xsl:for-each-group select="current-group()/*[local-name()=$context.dest]" group-by="text()"><!-\- $context.dest.val.group/ -\->
|
|
|
<xsl:sort select="text()" order="ascending" data-type="number"/>
|
|
<xsl:sort select="text()" order="ascending" data-type="number"/>
|
|
|
<stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names('$')"/></stentry>
|
|
<stentry><xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names('$')"/></stentry>
|
|
|
<stentry>
|
|
<stentry>
|
|
@@ -351,16 +607,16 @@
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:for-each select="$default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber.dst//firstStep[ @leadingNumber][1]">
|
|
<xsl:for-each select="$default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber.dst//firstStep[ @leadingNumber][1]">
|
|
|
<xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(@leadingNumber)"/>
|
|
<xsl:value-of select="p5gnuplot:system_cache__dita__x3A__fix__x3A__axis__x3A__names(@leadingNumber)"/>
|
|
|
- <!--<xsl:value-of select="@leadingNumber"/>--><!--<xsl:text> -\-\- </xsl:text>-->
|
|
|
|
|
- <!--<xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber"/>-->
|
|
|
|
|
- <!--<xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber" select="@*"/>-->
|
|
|
|
|
|
|
+ <!-\-<xsl:value-of select="@leadingNumber"/>-\-><!-\-<xsl:text> -\\-\\- </xsl:text>-\->
|
|
|
|
|
+ <!-\-<xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber"/>-\->
|
|
|
|
|
+ <!-\-<xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber" select="@*"/>-\->
|
|
|
</xsl:for-each>
|
|
</xsl:for-each>
|
|
|
</stentry>
|
|
</stentry>
|
|
|
</xsl:for-each-group>
|
|
</xsl:for-each-group>
|
|
|
</strow>
|
|
</strow>
|
|
|
<strow props="graph_vals">
|
|
<strow props="graph_vals">
|
|
|
|
|
|
|
|
- <xsl:for-each-group select="current-group()/*[local-name()=$context.dest]" group-by="text()"><!-- $context.dest.val.group/ -->
|
|
|
|
|
|
|
+ <xsl:for-each-group select="current-group()/*[local-name()=$context.dest]" group-by="text()"><!-\- $context.dest.val.group/ -\->
|
|
|
<xsl:sort select="text()" order="ascending" data-type="number"/>
|
|
<xsl:sort select="text()" order="ascending" data-type="number"/>
|
|
|
<xsl:variable name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber.dst">
|
|
<xsl:variable name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber.dst">
|
|
|
<xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber">
|
|
<xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.deal_analys.contrast.uniques.leadingNumber">
|
|
@@ -380,11 +636,11 @@
|
|
|
</xsl:for-each-group>
|
|
</xsl:for-each-group>
|
|
|
</strow>
|
|
</strow>
|
|
|
</simpletable>
|
|
</simpletable>
|
|
|
- </xsl:variable>
|
|
|
|
|
- <xsl:choose>
|
|
|
|
|
|
|
+ </xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:choose>
|
|
|
<xsl:when test="$simpletable//stentry and 1=2">
|
|
<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>
|
|
<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> statystyka <sub>(prawidłowe wartości w połowie wysokości środku wykresu)</sub> </p>-\->
|
|
|
<p>
|
|
<p>
|
|
|
<foreign props="exclude" >
|
|
<foreign props="exclude" >
|
|
|
<xsl:copy-of select="$simpletable" copy-namespaces="no"/>
|
|
<xsl:copy-of select="$simpletable" copy-namespaces="no"/>
|
|
@@ -404,7 +660,7 @@
|
|
|
|
|
|
|
|
</p>
|
|
</p>
|
|
|
</xsl:otherwise>
|
|
</xsl:otherwise>
|
|
|
- </xsl:choose>
|
|
|
|
|
|
|
+ </xsl:choose>-->
|
|
|
<!--<context><xsl:copy-of select="$context"></xsl:copy-of></context>-->
|
|
<!--<context><xsl:copy-of select="$context"></xsl:copy-of></context>-->
|
|
|
<!--<current><xsl:copy-of select="$current"></xsl:copy-of></current>-->
|
|
<!--<current><xsl:copy-of select="$current"></xsl:copy-of></current>-->
|
|
|
</xsl:template>
|
|
</xsl:template>
|