title: How to count element name of SOAP?
body: <p>I entered some text to <code>textfields</code> for display on <code>labels</code> some fields of soap. When enter <strong>2</strong> to <strong>"how many station will display"</strong> <code>textfield</code></p>
  
  <pre><code>&lt;stationName&gt;ABC&lt;/stationName&gt;
  &lt;stationName&gt;XYZ&lt;/stationName&gt;
  </code></pre>
  
  <p>I want to display these output on <code>labels</code>.</p>
  
  <p>I have 2 labels. <code>Label1</code> and <code>Label2</code>.</p>
  
  <p>If station name's count <strong>greater than 2</strong>, <code>label1</code> equal to <strong>station name1</strong> and <code>label2</code> equal to <strong>station name 2</strong></p>
  
  <p>How I check station name's count and display on 2 labels ?</p>
  
  <p>This code for only display one station on label.</p>
  
  <pre><code>-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName    namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict
  {
  
      if ( [elementName isEqualToString:@"stationName"] ) {
          if (!retornoSOAP) 
          {
              retornoSOAP = [[NSMutableString alloc] init];
          }
          teveRetorno = YES;
      }
  }
  
  - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
  {
      if (teveRetorno) 
      {
          [retornoSOAP appendString:string];
      }
  }
  
  - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
  {
      if ( [elementName isEqualToString:@"stationName"] ) 
      {
          Label1.text = retornoSOAP;
          retornoSOAP = nil;
          teveRetorno = NO;
  
          NSLog(@"LOG Message = %@", retornoSOAP);
      }
  }
  </code></pre>