2 Replies Latest reply on Jun 27, 2007 12:56 PM by Newsgroup_User

    ISDefined Problems with Arrays from XML

    FreddyBlogs
      I am using MX7 to XMLParse and then XMLSearch tp finf variables from Flight Operators. Sadly, not every operator provides consistent XML Structures, and so certain fields are missing without any idea which are missing. If I attempt to use <cfif IsDefined to block out missing fields as below:-

      <cfif IsDefined("Options_Array.XmlAttributes.UnitCost")>

      I get the Error Message - Parameter 1 of function IsDefined, which is now "Options_Array.XmlAttributes.UnitCost", must be a syntactically valid variable name.

      How do I get around that?

      Thanks for any help.