1 Reply Latest reply on Jul 25, 2007 2:14 PM by c_wigginton

    array

    Nick201 Level 1
      I have 5 records in my file. I am reading file . If ID is null i want to display null there. how can I do that
      Out put i want
      1
      2
      NULL
      4
      etc
      <cfset mydocarray=myXMLDocument.PA.CA>
      <cfloop from="1" to="#arraylen(mydoc)#" index="i">
      <p>
      <cfoutput>
      <Cfif #trim(mydoc .ID)# neq "">
      #mydocarray
      .ID# <BR />
      <cfelse>
      NULL
      </Cfif>