XMLParsing problem
<p>



</p>

<p>I display  List of date's on my table view.... </p>

<p>based on the date's.. i need to search location. and title</p>

<p>"<strong>with the help of url</strong>".</p>

<p>example
String *url=@"http://compliantbox.com/party_temperature/djsearch.php?date=?"</p>

<p>for the selected date.</p>

<p>i appended the date value to the string url.</p>

<p>So i need to parse again same xml parser. with date search.</p>

<pre><code>&lt;root&gt;
&lt;event title="event_title"location="new york"date="12/01/2011"/&gt;
&lt;event title="event_title2"location="california"date="13/01/2011"/&gt;
&lt;event title="event_title3"location="new york"date="14/01/2011"/&gt;
&lt;/root&gt;
</code></pre>

<p>here  my array get's Re-Initialization. </p>

<p>so i get conflict. when displaying data.... </p>

<p>I need to not re-Initialization my array again. and again...
I need to initialize my array only once in entire application.</p>

<pre><code>    - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName 
      namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName 
        attributes:(NSDictionary *)attributeDict{
    if ([elementName isEqualToString:@"root"]){
        dateListArray=[[NSMutableArray alloc] init];
}
}
</code></pre>

<p>I Hope you people understand my problem.
Please help me out .</p>

<p>@Thanks to All.</p>
