Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Add new Properties -->
- <xsl:template match="ws:properties">
- <xsl:choose>
- <xsl:when test="$oldWidgetLink = current()/../ws:link/@href and $newProperties != ''">
- <properties>
- <xsl:copy>
- <xsl:apply-templates select="./*"/>
- </xsl:copy>
- <xsl:call-template name="output-tokens">
- <xsl:with-param name="list"><xsl:value-of select="$newProperties" /></xsl:with-param>
- </xsl:call-template>
- </properties>
- </xsl:when>
- <xsl:otherwise>
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement