| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?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:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
-
- <!--<xsl:include href="p5ant-interface__x3A__p5CPTpm__x3A__p5xsl.param.xsl"/>-->
-
- <xsl:function name="p5ant-interface:param.if.istrue">
- <xsl:param name="param"/>
- <xsl:choose>
- <xsl:when test="$param='1'">
- <xsl:value-of select="true()"/>
- </xsl:when>
- <xsl:when test="$param='true'">
- <xsl:value-of select="true()"/>
- </xsl:when>
- <xsl:when test="$param='false'">
- <xsl:value-of select="true()"/>
- </xsl:when>
- <xsl:when test="$param='false()'"/>
- <xsl:when test="$param=''"/>
- <xsl:when test="$param='0'"/>
- <xsl:when test="contains($param,'${')">
- <xsl:message terminate="no">#20 $param <xsl:value-of select="$param"/> is propapby set uncorrectly as expected !</xsl:message>
- </xsl:when>
- <xsl:when test="string-length($param) > 0 ">
- <xsl:value-of select="true()"/>
- </xsl:when>
- </xsl:choose>
- </xsl:function>
-
-
- <!--<xsl:function name="p5ant-interface:param.override"></xsl:function>-->
-
- </xsl:stylesheet>
|