| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:p5oi="http://biuro.biall-net.pl/WPS_Functions/object_install_se_ant_object/object_install_se_ant_object.xsd"
- xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
-
-
-
- <xsl:output omit-xml-declaration="yes"/>
-
-
- <xsl:template mode="p5oi:statistics" match="text()|comment()"/>
-
- <xsl:template mode="p5oi:statistics" match="system_cache__appinfo:object_install_se_ant_object.generate_tables_from_external">
- <p5oi:statistics>
- <p5oi:counts>
- <xsl:for-each-group select="*[not( matches(name(),'(DEB.*)|(.*DEB)'))]" group-by="name()">
- <xsl:element name="{name()}">
- <xsl:value-of select=" count(current-group())"/>
- </xsl:element>
- </xsl:for-each-group>
- </p5oi:counts>
- <xsl:choose>
- <xsl:when test="*[ matches(name(),'(DEB.*)|(.*DEB)')]">
- <p5oi:debug>
- <xsl:value-of select="'used DEBUG. Turn debug off for complete process '"/>
- </p5oi:debug>
- </xsl:when>
- </xsl:choose>
- </p5oi:statistics>
- </xsl:template>
-
- <xsl:template mode="p5oi:say" match="system_cache__appinfo:object_install_se_ant_object.generate_tables_from_external">
- <xsl:variable name="p5oi:statistics">
- <xsl:apply-templates mode="p5oi:statistics" select="."/>
- </xsl:variable>
- <!--<xsl:copy-of select="$p5oi:statistics"></xsl:copy-of>-->
- <xsl:apply-templates select="$p5oi:statistics" mode="p5oi:say"/>
- </xsl:template>
-
-
-
- <xsl:template mode="p5oi:say" match="p5oi:statistics">
- We generated for:
- <xsl:for-each select="p5oi:counts/*">
- <xsl:value-of select="name()"/><xsl:text> </xsl:text><xsl:value-of select="text()"/><xsl:text> , </xsl:text>
- </xsl:for-each>
- <xsl:copy-of select="p5oi:debug/text()"/>
-
- </xsl:template>
-
-
- </xsl:stylesheet>
|