svghmi/gen_dnd_widget_svg.xslt
changeset 3414 0ff608310312
parent 3410 eac5832a1489
child 3478 c04c6db09eff
child 3506 ca312be56929
equal deleted inserted replaced
3413:2e84a2782295 3414:0ff608310312
    29         <xsl:otherwise>
    29         <xsl:otherwise>
    30           <xsl:value-of select="$args"/>
    30           <xsl:value-of select="$args"/>
    31         </xsl:otherwise>
    31         </xsl:otherwise>
    32       </xsl:choose>
    32       </xsl:choose>
    33     </xsl:variable>
    33     </xsl:variable>
    34     <xsl:variable name="freq" select="substring-after($typefreq,':')"/>
    34     <xsl:variable name="freq" select="substring-after($typefreq,'|')"/>
    35     <xsl:variable name="_type" select="substring-before($typefreq,'|')"/>
    35     <xsl:variable name="_type" select="substring-before($typefreq,'|')"/>
    36     <xsl:variable name="type">
    36     <xsl:variable name="type">
    37       <xsl:choose>
    37       <xsl:choose>
    38         <xsl:when test="$_type">
    38         <xsl:when test="$_type">
    39           <xsl:value-of select="$_type"/>
    39           <xsl:value-of select="$_type"/>
    49           <xsl:value-of select="$id"/>
    49           <xsl:value-of select="$id"/>
    50         </xsl:attribute>
    50         </xsl:attribute>
    51         <xsl:attribute name="type">
    51         <xsl:attribute name="type">
    52           <xsl:value-of select="$type"/>
    52           <xsl:value-of select="$type"/>
    53         </xsl:attribute>
    53         </xsl:attribute>
    54         <xsl:if test="freq">
    54         <xsl:if test="$freq">
    55           <xsl:attribute name="frequency">
    55           <xsl:attribute name="freq">
    56             <xsl:value-of select="$freq"/>
    56             <xsl:value-of select="$freq"/>
    57           </xsl:attribute>
    57           </xsl:attribute>
    58         </xsl:if>
    58         </xsl:if>
    59         <xsl:for-each select="str:split(substring-after($args, ':'), ':')">
    59         <xsl:for-each select="str:split(substring-after($args, ':'), ':')">
    60           <arg>
    60           <arg>