Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.03 KB | None | 0 0
  1. <div class="text-content">
  2.                         <xsl:value-of disable-output-escaping="yes" select="i18n:getTextItem($language, concat('vehicle.rateType.',$vendor/@Name, '.', $description/@Category, '.description'))"/>
  3.                         <br/>
  4.                         <br/>
  5.                         <xsl:variable name="url">
  6.                             <xsl:value-of select="concat(i18n:getTextItem($language, concat('vehicle.rateType.',$vendor/@Name, '.conditions')))"/>
  7.                         </xsl:variable>
  8.  
  9.                         <xsl:choose>
  10.                             <xsl:when test="starts-with($url, 'http')">
  11.                                 <a href="{$url}">
  12.                                     <xsl:value-of disable-output-escaping="yes" select="i18n:getTextItem($language, 'vehicle.rateType.',$vendor/@Name, '.termsConditions')"/>
  13.                                 </a>
  14.                             <xsl:otherwise>
  15.                                 <a href="{config:getStaticURL()}/docsTempest_Vitality_terms_and_conditions.pdf">
  16.                                     <xsl:value-of disable-output-escaping="yes" select="i18n:getTextItem($language, 'vehicle.rateType.',$vendor/@Name, '.termsConditions')"/>
  17.                                 </a>
  18.                             </xsl:otherwise>
  19.                         </xsl:choose>
  20.                     </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement