| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:p5dkp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
- xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
-
- <xsl:output indent="yes"/>
- <xsl:strip-space elements="*"/>
-
-
- <xsl:include href="p5dkp.ditamap_to_reltable.filesuffix.xsl"/>
- <xsl:include href="../documentation_generator/p5dg.filepath.xsl"/>
-
- <xsl:template match="p5dkp:ditafiles.xml" mode="p5dkp:ditafiles.dita-ot.test-build-pdf.xml">
- <p5dkp:ditafiles.dita-ot.test-build-pdf.xml
- p5suis:group-desc="child::local-name()"
- p5suis:group.by="child::local-name()"
- p5suis:group.name="Lista map "
- p5suis:lang="PL"
- >
- <xsl:for-each-group select=".//p5dkp:ditafiles.file[@format = 'ditamap']" group-by="@p5dkp:true.path">
- <xsl:copy copy-namespaces="no">
- <xsl:apply-templates mode="#current" select="@*"/>
- <xsl:attribute name="dita-ot.args.input.ditamap.title.info">
- <xsl:for-each select="descendant-or-self::title">
- <xsl:choose>
- <xsl:when test="position() = 1"> mapa zawiera <xsl:value-of select="last()"/> dokumentów. </xsl:when>
- <xsl:when test="position() < 10">
- <xsl:value-of select="substring(text(),0,40)"/>
- </xsl:when>
- <xsl:when test="position() = 11"> oraz innych <xsl:value-of select="last() - 11"/> tytułów </xsl:when>
- </xsl:choose>
- </xsl:for-each>
- </xsl:attribute>
- </xsl:copy>
- </xsl:for-each-group>
- </p5dkp:ditafiles.dita-ot.test-build-pdf.xml>
-
- </xsl:template>
-
- <!-- href="__ROOT_SubjectScheme__.ditamap"
- map.path="/Users/a.binder/procesy5-dita-templates-druki/"
- p5dkp:ditafiles.func.isditafile="true"
- id="ditafiles_d13e4"
- format="ditamap"
- scope="external-->
-
- <xsl:template match="@*" mode="p5dkp:ditafiles.dita-ot.test-build-pdf.xml"/>
-
-
- <xsl:template mode="p5dkp:ditafiles.dita-ot.test-build-pdf.xml" match="@p5dkp:true.path">
- <xsl:attribute name="dita-ot.args.input.input" select="p5dkp:to_reltable.filesuffix.ditaname(.)"/>
- <xsl:attribute name="dita-ot.args.input.input.filepath.dir" select="p5dg:filepath.dir(p5dkp:to_reltable.filesuffix.ditaname(.))"/>
- <xsl:attribute name="dita-ot.args.input.input.filename" select="p5dg:filename(p5dkp:to_reltable.filesuffix.ditaname(.))"/>
- <xsl:attribute name="dita-ot.args.input.input.filename.noext" select="p5dg:filename.noext(p5dkp:to_reltable.filesuffix.ditaname(.))"/>
- </xsl:template>
-
-
-
- <xsl:template mode="p5dkp:ditafiles.dita-ot.test-build-pdf.xml" match="@id">
- <!--<xsl:copy-of select="."/>-->
- </xsl:template>
-
- </xsl:stylesheet>
|