Ignore:
Timestamp:
04/07/17 00:32:11 (3 years ago)
Author:
Garth Braithwaite
Message:

db, java, xslt - cleaned up the dims to iv sql. Based inserts on actual IVV records because had duplicates. Also based on active records which does not quite line up with production NM data but it appears to check out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ibisph-view/src/main/webapp/xslt/ibis.xslt

    r13450 r13530  
    249249                <xsl:value-of select="if(starts-with($value, '*') or (string-length($value) = 0))then 'null' else $value"/>
    250250-->
    251                 <xsl:value-of select="if((string(number($value)) = 'NaN') or (string-length($value) = 0))then 'null' else $value"/>
     251                <xsl:choose>
     252                        <xsl:when test="1 = count($value)">
     253                                <xsl:value-of select="if((string(number($value)) = 'NaN') or (string-length($value) = 0))then 'null' else $value"/>
     254                        </xsl:when>
     255                        <xsl:otherwise>null</xsl:otherwise>
     256                </xsl:choose>
    252257        </xsl:function>
    253258
     
    297302                        <xsl:choose>
    298303                                <xsl:when test="count($number) &gt; 1">
     304<!--
    299305<xsl:message select="'ibis:getFormattedValue - number is a sequence of the following values: '"/>
    300306<xsl:message select="$number"/>
     307-->
    301308                                        -999999
    302309                                </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.