Organized the project some. Added some framework XML classes.
[ITFoundation.git] / ITXMLParser.h
diff --git a/ITXMLParser.h b/ITXMLParser.h
new file mode 100755 (executable)
index 0000000..63a6238
--- /dev/null
@@ -0,0 +1,23 @@
+#import <Foundation/Foundation.h>
+
+@class ITXMLNode;
+
+@interface ITXMLParser : NSObject
+{
+    NSString *_source;
+    NSString *_XMLPathSeparator;
+}
+
+- (id)initWithContentsOfURL:(NSURL *)aURL;
+- (id)initWithContentsOfString:(NSString *)aString;
+
+- (NSString *)source;
+- (NSDictionary *)declaration;
+
+- (ITXMLNode *)rootNode;
+- (ITXMLNode *)nodeWithXMLPath:(NSString *)path;
+
+- (void)setXMLPathSeparator:(NSString *)pathSeparator;
+- (NSString *)XMLPathSeparator;
+
+@end
\ No newline at end of file