| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?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:p5dkp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
- xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
- xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
- exclude-result-prefixes="xs p5dkp p5ant-interface p5suis"
- version="2.0">
-
- <xsl:output indent="yes" method="xml" />
-
- <xsl:strip-space elements="*"/>
-
-
-
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.root.topic" match="@p5dkp:ditafiles.wordindex.merge.ditafiles.hit.s.texts">
- <xsl:param name="format" select="'li'"/>
- <xsl:element name="{$format}">
- Ciąg słowny:
- <ol>
- <!--<xsl:variable name="p5dkp:ditafiles.wordindex.merge.ditafiles.hit.s.texts">-->
- <!--<p5dkp:ditafiles.wordindex.merge.ditafiles.hit.s.texts>-->
- <xsl:for-each-group select="tokenize(.,' ')[string-length(.) > 0 ]" group-by=".">
- <li><xsl:value-of select="."/> - <xsl:value-of select="count(current-group())"/></li>
- </xsl:for-each-group>
- <!--</p5dkp:ditafiles.wordindex.merge.ditafiles.hit.s.texts>-->
- <!--</xsl:variable>-->
- </ol>
- </xsl:element>
- </xsl:template>
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.root.topic" match="@p5ant-interface:dir.filename.remote">
- <xsl:param name="format" select="'li'"/>
- <xsl:element name="{$format}">
- Plik <xsl:value-of select="."/> <!-- p5dkp:ditafiles.dir_from_fullpath -->
- </xsl:element>
- </xsl:template>
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.root.topic" match="@p5dkp:ditafiles.wordindex.merge.ditafiles.hit.count">
- <xsl:param name="format" select="'li'"/>
- <xsl:element name="{$format}">
- Trafień <xsl:value-of select="."/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.root.topic" match="@p5dkp:ditafiles.wordindex.merge.ditafiles.hit.t.p.len.avg">
- <xsl:param name="format" select="'li'"/>
- <xsl:element name="{$format}">
- Trafień strukt/kontekst <xsl:value-of select="."/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.root.topic" match="@p5dkp:ditafiles.wordindex.merge.ditafiles.hit.ss.len.sum">
- <xsl:param name="format" select="'li'"/>
- <xsl:element name="{$format}">
- Trafień kontekstu zdań <xsl:value-of select="."/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.merged.ditafiles.topic.xml" match="@p5dkp:ditafiles.wordindex.merge.ditafiles.hit.s.sum.text.len">
- <xsl:param name="format" select="'li'"/>
- <xsl:element name="{$format}">
- Długość pkrywającego sie ciągu znaków <xsl:value-of select="."/>
- </xsl:element>
- </xsl:template>
-
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.merged.ditafiles.topic.xml" match="@*"/>
-
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.root.topic" match="HIT">
- <xsl:param name="format" select="'ol'"/>
- <xsl:choose>
- <xsl:when test="contains(@p5dkp:ditafiles.wordindex.merge.ditafiles.hit.s.text,$p5dkp.ditafiles.wordindex.strings.merge.xml.minimize.s) or number(@p5dkp:ditafiles.wordindex.merge.ditafiles.hit.ss.len.max) < 4">
- <xsl:comment>#184 ignored "<xsl:value-of select="@p5dkp:ditafiles.wordindex.merge.ditafiles.hit.s.text"/>" due to minimize parameter</xsl:comment>
- </xsl:when>
- <xsl:otherwise>
- <xsl:element name="{$format}">
- <xsl:apply-templates mode="#current" select="@*">
- <xsl:with-param name="format" select="'li'"/>
- </xsl:apply-templates>
- </xsl:element>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.root.topic" match="comment()|text()"/>
-
- <xsl:template mode="p5dkp:ditafiles.wordindex.root.topic" match="*">
- <xsl:comment>#182 p5dkp:ditafiles.wordindex.root.topic/name() = <xsl:value-of select="name()"/>; </xsl:comment>
- </xsl:template>
-
-
- </xsl:stylesheet>
|