title: parsing SOAP response with touchXML - a problem
body: <p>i've another problem with obj-c: 
  i'm trying to parse this XML :</p>
  
  <p>here's the case:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
      &lt;soap:Body&gt;
          &lt;GetMyDashboardResponse xmlns="http://tempuri.org/"&gt;
              &lt;GetMyDashboardResult&gt;
                  &lt;MyDashboard&gt;
                      &lt;Profile&gt;Speed Seeker&lt;/Profile&gt;
                      &lt;UserID&gt;6&lt;/UserID&gt;
                      &lt;VenueName&gt;Prasowa&lt;/VenueName&gt;
                      &lt;FriendsCount&gt;10&lt;/FriendsCount&gt;
                      &lt;FollowingCount&gt;11&lt;/FollowingCount&gt;
                      &lt;FollowersCount&gt;12&lt;/FollowersCount&gt;
                      &lt;StatusMessage&gt;aaa&lt;/StatusMessage&gt;
                      &lt;StatusDate&gt;2010-08-04T11:38:09.733&lt;/StatusDate&gt;
                      &lt;CheckedInTimeStamp&gt;2010-07-30T13:48:24&lt;/CheckedInTimeStamp&gt;
                  &lt;/MyDashboard&gt;
              &lt;/GetMyDashboardResult&gt;
          &lt;/GetMyDashboardResponse&gt;
      &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>and here's how i'm trying to accomplish it:</p>
  
  <pre><code>NSMutableArray *res = [[NSMutableArray alloc] init];
  
  CXMLDocument *doc = [[[CXMLDocument alloc] initWithData:XMLData options:0 error:nil] autorelease];
  
  NSArray *nodes = NULL;
  nodes = [doc nodesForXPath:@"//MyDashboard" error:nil];
  
  for (CXMLElement *node in nodes) 
  {
        NSMutableDictionary *item = [[NSMutableDictionary alloc] init];
        int counter;
        for(counter = 0; counter &lt; [node childCount]; counter++) 
        {
              [item setObject:[[node childAtIndex:counter] stringValue] forKey:[[node childAtIndex:counter] name]];
        }
        [item setObject:[[node elementsForName:@"Profile"] stringValue] forKey:@"profileName"];  // &lt;------ this magical arrow is pointing to the area of interest
      NSLog(@"petla");
        [res addObject:item];
        [item release];
  }
  
  NSLog(@"%@", res);
  [res release];
  </code></pre>
  
  <p>`</p>
  
  <p>thanks for any help.</p>