- (id)init
{
   if ((self == [super init])) {
      parser = [[NSXMLParser alloc] initWithContentsOfURL:
                  [NSURL fileURLWithPath:[[NSBundle mainBundle] 
                         pathForResource:@"Sample" 
                                  ofType:@"xml"]]];
      [parser setDelegate:self];
      [parser parse];
   }
   return self;
}
