equal
deleted
inserted
replaced
16 <xsl:otherwise> |
16 <xsl:otherwise> |
17 <xsl:value-of select="$description"/> |
17 <xsl:value-of select="$description"/> |
18 </xsl:otherwise> |
18 </xsl:otherwise> |
19 </xsl:choose> |
19 </xsl:choose> |
20 </xsl:variable> |
20 </xsl:variable> |
21 <xsl:variable name="_type" select="substring-before($args,':')"/> |
21 <xsl:variable name="_typefreq" select="substring-before($args,':')"/> |
|
22 <xsl:variable name="typefreq"> |
|
23 <xsl:choose> |
|
24 <xsl:when test="$_typefreq"> |
|
25 <xsl:value-of select="$_typefreq"/> |
|
26 </xsl:when> |
|
27 <xsl:otherwise> |
|
28 <xsl:value-of select="$args"/> |
|
29 </xsl:otherwise> |
|
30 </xsl:choose> |
|
31 </xsl:variable> |
|
32 <xsl:variable name="freq" select="substring-after($typefreq,':')"/> |
|
33 <xsl:variable name="_type" select="substring-before($typefreq,'|')"/> |
22 <xsl:variable name="type"> |
34 <xsl:variable name="type"> |
23 <xsl:choose> |
35 <xsl:choose> |
24 <xsl:when test="$_type"> |
36 <xsl:when test="$_type"> |
25 <xsl:value-of select="$_type"/> |
37 <xsl:value-of select="$_type"/> |
26 </xsl:when> |
38 </xsl:when> |
27 <xsl:otherwise> |
39 <xsl:otherwise> |
28 <xsl:value-of select="$args"/> |
40 <xsl:value-of select="$typefreq"/> |
29 </xsl:otherwise> |
41 </xsl:otherwise> |
30 </xsl:choose> |
42 </xsl:choose> |
31 </xsl:variable> |
43 </xsl:variable> |
32 <xsl:if test="$type"> |
44 <xsl:if test="$type"> |
33 <widget> |
45 <widget> |
35 <xsl:value-of select="$id"/> |
47 <xsl:value-of select="$id"/> |
36 </xsl:attribute> |
48 </xsl:attribute> |
37 <xsl:attribute name="type"> |
49 <xsl:attribute name="type"> |
38 <xsl:value-of select="$type"/> |
50 <xsl:value-of select="$type"/> |
39 </xsl:attribute> |
51 </xsl:attribute> |
|
52 <xsl:if test="freq"> |
|
53 <xsl:attribute name="frequency"> |
|
54 <xsl:value-of select="$freq"/> |
|
55 </xsl:attribute> |
|
56 </xsl:if> |
40 <xsl:for-each select="str:split(substring-after($args, ':'), ':')"> |
57 <xsl:for-each select="str:split(substring-after($args, ':'), ':')"> |
41 <arg> |
58 <arg> |
42 <xsl:attribute name="value"> |
59 <xsl:attribute name="value"> |
43 <xsl:value-of select="."/> |
60 <xsl:value-of select="."/> |
44 </xsl:attribute> |
61 </xsl:attribute> |