Files
RestKit/Code/Support/Parsers/RKXMLParser.h
Blake Watters 227f35a20d Merge branch '0.9' into xml-parser
Conflicts:
	Examples/RKTwitter/Classes/RKTwitterViewController.m
	README.md
	RestKit.xcodeproj/project.pbxproj
2011-03-27 22:29:19 -04:00

24 lines
611 B
Objective-C

//
// RKXMLParser.h
//
// Created by Jeremy Ellison on 2011-02-28.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RKParser.h"
/**
* This is a dead simple XML parser that uses libxml2 to parse an XML document
* into a dictionary. It is designed specifically for use with RestKit. It
* does not support any fanciness like Namespaces, DTDs, or other nonsense.
* It does not save attributes on tags, it only cares about nested content and text.
*/
@interface RKXMLParser : NSObject <RKParser> {
}
+ (NSDictionary*)parse:(NSString*)xml;
@end