7 Replies Latest reply on May 30, 2012 8:24 AM by Adam Cameron.

    Check is always false isXmlAttribute

    nikos101 Level 2

          Hi can anyone see why Check is always false isXmlAttribute in this case?

       

      <cfset isNullCurrencyValue = true>
        <cfset CurrencyValue          = "">
       
      <cfif isXmlAttribute(structFromParsedXML[d].XmlAttributes["CurrencyValue"])>
        <cfset isNullCurrencyValue = false>
        <cfset CurrencyValue   = structFromParsedXML[d].XmlAttributes["CurrencyValue"]>
        </cfif>