1 Reply Latest reply on Jul 23, 2007 3:17 PM by Newsgroup_User

    A prop list problem

    wgb14 Level 1
      Hi all,

      Here is a prop list returned by my XML parser

      ["aiml": ["!ATTRIBUTES": [:], "category": ["!ATTRIBUTES": [:], "pattern": ["!ATTRIBUTES": [:], "!CHARDATA": "hi"], "template": ["!ATTRIBUTES": [:], "!CHARDATA": "15.hap"]], "category": ["!ATTRIBUTES": [:], "pattern": ["!ATTRIBUTES": [:], "!CHARDATA": "hi there my name is"], "template": ["!ATTRIBUTES": [:], "!CHARDATA": "15.hap"]]]]

      To access the value of the first pattern in the list, i use, put AIMList3["aiml"]["category"]["pattern"]["!CHARDATA"]. How can I modify this line of code to access the second pattern in the list (that with the value "hi there my name is"). Any ideas?