Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="text-content">
- <xsl:value-of disable-output-escaping="yes" select="i18n:getTextItem($language, concat('vehicle.rateType.',$vendor/@Name, '.', $description/@Category, '.description'))"/>
- <br/>
- <br/>
- <xsl:variable name="url">
- <xsl:value-of select="concat(i18n:getTextItem($language, concat('vehicle.rateType.',$vendor/@Name, '.conditions')))"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="starts-with($url, 'http')">
- <a href="{$url}">
- <xsl:value-of disable-output-escaping="yes" select="i18n:getTextItem($language, 'vehicle.rateType.',$vendor/@Name, '.termsConditions')"/>
- </a>
- <xsl:otherwise>
- <a href="{config:getStaticURL()}/docsTempest_Vitality_terms_and_conditions.pdf">
- <xsl:value-of disable-output-escaping="yes" select="i18n:getTextItem($language, 'vehicle.rateType.',$vendor/@Name, '.termsConditions')"/>
- </a>
- </xsl:otherwise>
- </xsl:choose>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement