| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?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: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 indent="yes"/>
- <xsl:strip-space elements="*"/>
-
- <xsl:param name="temp" required="yes"/>
- <xsl:param name="uuid" required="yes"/>
-
- <xsl:template mode="system_cache__appinfo:postprocess" match="postprocess_dita">
- <project basedir="{$temp}" name="project_for_{local-name()}" default="default">
- <target name="default">
- <xsl:apply-templates mode="system_cache__appinfo:postprocess"/>
- </target>
- </project>
- </xsl:template>
-
-
-
- <xsl:template mode="system_cache__appinfo:postprocess" match="base64_to_image">
- <xsl:choose>
- <xsl:when test="@srcfile and @dstfile">
- <exec executable="base64">
- <arg line="-i {@srcfile}"/>
- <arg line="-o {@dstfile}"/>
- <arg line="-D"/>
- </exec>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message terminate="yes">#29 Not set @srcfile or @dstfile</xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template mode="system_cache__appinfo:postprocess" match="gml_to_image">
- <xsl:choose>
- <xsl:when test="@srcfile and @dstfile">
- <echo>TODO convert gml 2 png for <xsl:value-of select="@srcfile"/> to <xsl:value-of select="@dstfile"/> </echo>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message terminate="yes">#29 Not set @srcfile or @dstfile</xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- </xsl:stylesheet>
|