|
@@ -48,8 +48,8 @@
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<xsl:when test="count(current-group()) > $count_percent_cout ">
|
|
<xsl:when test="count(current-group()) > $count_percent_cout ">
|
|
|
<strow>
|
|
<strow>
|
|
|
- <stentry> <xsl:value-of select="$column"/></stentry>
|
|
|
|
|
- <stentry> <xsl:value-of select="text()"/></stentry>
|
|
|
|
|
|
|
+ <stentry> <xsl:value-of select="replace($column,'_',' ')"/></stentry>
|
|
|
|
|
+ <stentry> <xsl:value-of select="replace(text(),'_',' ')"/></stentry>
|
|
|
<stentry> <xsl:value-of select="count(current-group())"/></stentry>
|
|
<stentry> <xsl:value-of select="count(current-group())"/></stentry>
|
|
|
</strow>
|
|
</strow>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
@@ -62,7 +62,7 @@
|
|
|
|
|
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<xsl:when test="$default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records//stentry">
|
|
<xsl:when test="$default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records//stentry">
|
|
|
- <simpletable frame="all" relcolwidth="1* 4* 2*" >
|
|
|
|
|
|
|
+ <simpletable frame="all" relcolwidth="1* 4* 2*" props="BI_audit_BENFORD.podgl_anal_liczb.records__65">
|
|
|
<sthead>
|
|
<sthead>
|
|
|
<stentry>analizowana kolumna</stentry>
|
|
<stentry>analizowana kolumna</stentry>
|
|
|
<stentry>wartość</stentry>
|
|
<stentry>wartość</stentry>
|
|
@@ -148,19 +148,40 @@
|
|
|
<xsl:sort select="count(current-group())" data-type="number" order="descending"/>
|
|
<xsl:sort select="count(current-group())" data-type="number" order="descending"/>
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<xsl:when test="count(current-group()) > $count_percent_cout ">
|
|
<xsl:when test="count(current-group()) > $count_percent_cout ">
|
|
|
- <strow > <!-- id="{default_db__x3A__BI_audit_BENFORD:system_cache__dita.files.topic.table.podglad_analizy_liczb.records.id($system_cache__dita:topic_name,@fid,parent::*/local-name(),local-name())}" -->
|
|
|
|
|
- <stentry> <xsl:value-of select="$column"/></stentry>
|
|
|
|
|
- <stentry> <xsl:value-of select="text()"/></stentry>
|
|
|
|
|
- <stentry> <xsl:value-of select="count(current-group())"/></stentry>
|
|
|
|
|
- <stentry> <xsl:value-of select="count(current-group())"/>
|
|
|
|
|
- <xsl:for-each-group select="current-group()/parent::*[ not( contains($default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records.ignore,local-name())) ]" group-by="@fid">
|
|
|
|
|
- <xsl:message>#166 @fid ;<xsl:value-of select="@fid"/>;</xsl:message>
|
|
|
|
|
- <xref
|
|
|
|
|
- href="{default_db__x3A__BI_audit_BENFORD:system_cache__dita.files.topic.table.podglad_analizy_liczb.records.id.xref.fid.local_name($system_cache__dita:files.key.title.context.href.all_table,$system_cache__dita:files.key.topic.id.context.value.all_table,@fid,local-name())}"
|
|
|
|
|
- scope="local"/>
|
|
|
|
|
- </xsl:for-each-group>
|
|
|
|
|
- </stentry>
|
|
|
|
|
- </strow>
|
|
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="position() <10">
|
|
|
|
|
+ <strow > <!-- id="{default_db__x3A__BI_audit_BENFORD:system_cache__dita.files.topic.table.podglad_analizy_liczb.records.id($system_cache__dita:topic_name,@fid,parent::*/local-name(),local-name())}" -->
|
|
|
|
|
+ <stentry> <xsl:value-of select="replace($column,'_',' ')"/></stentry>
|
|
|
|
|
+ <stentry> <xsl:value-of select="replace(text(),'_',' ')"/></stentry>
|
|
|
|
|
+ <stentry> <xsl:value-of select="count(current-group())"/></stentry>
|
|
|
|
|
+ <stentry> <!--<xsl:value-of select="count(current-group())"/>-->
|
|
|
|
|
+ <xsl:for-each-group select="current-group()/parent::*[ not( contains($default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records.ignore,local-name())) ]" group-by="@fid">
|
|
|
|
|
+ <xsl:message>#166 @fid ;<xsl:value-of select="@fid"/>;</xsl:message>
|
|
|
|
|
+ <xsl:value-of select="substring-after(@fid,'.')"/><xsl:text> </xsl:text>
|
|
|
|
|
+ <!--<xsl:choose>
|
|
|
|
|
+ <xsl:when test="position() <10">
|
|
|
|
|
+ <!-\- TODO -\->
|
|
|
|
|
+ <!-\-<xref
|
|
|
|
|
+ href="{default_db__x3A__BI_audit_BENFORD:system_cache__dita.files.topic.table.podglad_analizy_liczb.records.id.xref.fid.local_name($system_cache__dita:files.key.title.context.href.all_table,$system_cache__dita:files.key.topic.id.context.value.all_table,@fid,local-name())}"
|
|
|
|
|
+ scope="local"/>-\->
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:when test="position() = 10">
|
|
|
|
|
+ <sub>pominieto <xsl:value-of select="last() - position()"/> przykl.</sub>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ </xsl:choose>-->
|
|
|
|
|
+ </xsl:for-each-group>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:when test="position() = 10">
|
|
|
|
|
+ <strow>
|
|
|
|
|
+ <stentry/>
|
|
|
|
|
+ <stentry/>
|
|
|
|
|
+ <stentry> pominięto <xsl:value-of select="last() - 10"/> przykładów </stentry>
|
|
|
|
|
+ <stentry/>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ </xsl:choose>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
|
|
|
|
@@ -173,7 +194,7 @@
|
|
|
|
|
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<xsl:when test="$default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records//stentry">
|
|
<xsl:when test="$default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records//stentry">
|
|
|
- <simpletable frame="all" relcolwidth="1* 4* 2* 6*" >
|
|
|
|
|
|
|
+ <simpletable frame="all" relcolwidth="1* 4* 2* 3*" props="BI_audit_BENFORD.podgl_anal_liczb.records__176">
|
|
|
<sthead>
|
|
<sthead>
|
|
|
<stentry>analizowana kolumna</stentry>
|
|
<stentry>analizowana kolumna</stentry>
|
|
|
<stentry>wartość</stentry>
|
|
<stentry>wartość</stentry>
|
|
@@ -212,7 +233,7 @@
|
|
|
<xsl:otherwise><xsl:value-of select="$count_percent_cout"/></xsl:otherwise>
|
|
<xsl:otherwise><xsl:value-of select="$count_percent_cout"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
- <topic>
|
|
|
|
|
|
|
+ <topic props="BI_audit_BENFORD.podgl_anal_liczb.records__215">
|
|
|
<xsl:copy-of select="system_cache__dita:files.key.topic.title.attrs.context(.,'topic',$system_cache__dita:topic_name)"/>
|
|
<xsl:copy-of select="system_cache__dita:files.key.topic.title.attrs.context(.,'topic',$system_cache__dita:topic_name)"/>
|
|
|
<title>
|
|
<title>
|
|
|
Wszystkie dane
|
|
Wszystkie dane
|
|
@@ -222,10 +243,7 @@
|
|
|
|
|
|
|
|
</title>
|
|
</title>
|
|
|
<body>
|
|
<body>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<xsl:for-each-group select=".//*[@fid and not(contains($default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records.ignore,local-name()))]" group-by="local-name()">
|
|
<xsl:for-each-group select=".//*[@fid and not(contains($default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records.ignore,local-name()))]" group-by="local-name()">
|
|
|
<xsl:sort select="count(current-grouping-key())" data-type="number" order="descending"/>
|
|
<xsl:sort select="count(current-grouping-key())" data-type="number" order="descending"/>
|
|
|
<xsl:variable name="column" select="current-grouping-key()"/>
|
|
<xsl:variable name="column" select="current-grouping-key()"/>
|
|
@@ -241,7 +259,7 @@
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
|
|
|
|
|
<!--<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" -->
|
|
<!--<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" -->
|
|
|
- <simpletable id="{current-grouping-key()}" frame="all" > <!-- system_cache__dita:width_cols="auto" system_cache__dita:bypass_rows_with_zero="true" system_cache__dita:bypass_rows_empty="true" -->
|
|
|
|
|
|
|
+ <simpletable id="{current-grouping-key()}" frame="all" props="BI_audit_BENFORD.podgl_anal_liczb.records__241" > <!-- system_cache__dita:width_cols="auto" system_cache__dita:bypass_rows_with_zero="true" system_cache__dita:bypass_rows_empty="true" -->
|
|
|
<xsl:attribute name="relcolwidth">
|
|
<xsl:attribute name="relcolwidth">
|
|
|
<xsl:for-each select="$columns//sthead">
|
|
<xsl:for-each select="$columns//sthead">
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
@@ -271,13 +289,39 @@
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- <strow id="{concat(@fid,'_',local-name())}">
|
|
|
|
|
- <xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records.fields" select="$columns/columns/*[ position() < number($default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records.table_width) ]">
|
|
|
|
|
- <xsl:with-param name="context" select="."/>
|
|
|
|
|
- <xsl:with-param name="element" select="'strow'"/>
|
|
|
|
|
- </xsl:apply-templates>
|
|
|
|
|
- </strow>
|
|
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="position() < 10 ">
|
|
|
|
|
+ <strow id="{concat(@fid,'_',local-name())}">
|
|
|
|
|
+ <xsl:apply-templates mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records.fields" select="$columns/columns/*[ position() < number($default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.podglad_analizy_liczb.records.table_width) ]">
|
|
|
|
|
+ <xsl:with-param name="context" select="."/>
|
|
|
|
|
+ <xsl:with-param name="element" select="'strow'"/>
|
|
|
|
|
+ </xsl:apply-templates>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:when test="position() = 10 ">
|
|
|
|
|
+ <xsl:variable name="context.strow" select="."/>
|
|
|
|
|
+ <strow props="BI_audit_BENFORD.podgl_anal_liczb.records__283">
|
|
|
|
|
+ <xsl:for-each select="$columns//sthead">
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="position() = 1">
|
|
|
|
|
+ <stentry>
|
|
|
|
|
+ max <xsl:value-of select="$context.strow/last()"/>
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:when test="position() = 2">
|
|
|
|
|
+ <stentry>
|
|
|
|
|
+ pominięto <xsl:value-of select="$context.strow/last() - $context.strow/position()"/> przykł.
|
|
|
|
|
+ </stentry>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:otherwise>
|
|
|
|
|
+ <stentry/>
|
|
|
|
|
+ </xsl:otherwise>
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ </xsl:for-each>
|
|
|
|
|
+ </strow>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:otherwise/>
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
|
|
|
</xsl:for-each-group>
|
|
</xsl:for-each-group>
|
|
|
</simpletable>
|
|
</simpletable>
|