SHARE
TWEET

Untitled

a guest Jun 19th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <xsl:choose>
  2.         <xsl:when test="ApplicationPaySeries[1]/TermsCount > 0 and count(ApplicationPaySeries) > 1">
  3.         <xsl:text>Avdragsfritt </xsl:text>
  4.         <xsl:value-of select="format-number(ApplicationPaySeries[1]/TermsCount div 12,'#')"/>
  5.         <xsl:text> år. Deretter </xsl:text>
  6.         <xsl:value-of select="format-number(ApplicationPaySeries[last()]/TermsCount,'#')"/>
  7.         <xsl:text> terminer a kr. </xsl:text>
  8.         <xsl:value-of select="format-number(ApplicationPaySeries[last()]/NetTermAmount,'#.###')"/>
  9.         <xsl:text>,-</xsl:text>
  10.     </xsl:when>
  11.     <xsl:when test="count(ApplicationPaySeries) = 1 and round(ResidualValue) = round(LoanAmount)">
  12.         <xsl:text>(Ca.) Kr. </xsl:text>
  13.         <xsl:value-of select="format-number(ApplicationPaySeries[last()]/NetTermAmount,'#.###')"/>      
  14.         <xsl:text>,-  Avdragsfritt i </xsl:text>
  15.         <xsl:value-of select="format-number(ApplicationPaySeries[1]/TermsCount div 12,'#')"/>
  16.         <xsl:text> år.</xsl:text>     
  17.     </xsl:when>
  18.     <xsl:otherwise>
  19.         <xsl:value-of select="format-number(ApplicationPaySeries[last()]/NetTermAmount,'#.###')"/><xsl:text>,-</xsl:text>
  20.     </xsl:otherwise>
  21. </xsl:choose>
RAW Paste Data
Top