34 #define OO_TBXML_MAX_ELEMENTS 100 35 #define OO_TBXML_MAX_ATTRIBUTES 100 37 #define OO_TBXML_ATTRIBUTE_NAME_START 0 38 #define OO_TBXML_ATTRIBUTE_NAME_END 1 39 #define OO_TBXML_ATTRIBUTE_VALUE_START 2 40 #define OO_TBXML_ATTRIBUTE_VALUE_END 3 41 #define OO_TBXML_ATTRIBUTE_CDATA_END 4 42 #import <Foundation/Foundation.h> 94 long currentAttribute;
98 NSArray * ignoredTags;
103 + (id)tbxmlWithURL:(NSURL*)aURL;
104 + (id)tbxmlWithURL:(NSURL*)aURL ignoredTags:(NSArray *)theIgnoredTags;
105 + (id)tbxmlWithXMLString:(NSString*)aXMLString;
106 + (id)tbxmlWithXMLString:(NSString*)aXMLString ignoredTags:(NSArray *)theIgnoredTags;
107 + (id)tbxmlWithXMLData:(NSData*)aData;
108 + (id)tbxmlWithXMLData:(NSData*)aData ignoredTags:(NSArray *)theIgnoredTags;
109 + (id)tbxmlWithXMLFile:(NSString*)aXMLFile;
110 + (id)tbxmlWithXMLFile:(NSString*)aXMLFile ignoredTags:(NSArray *)theIgnoredTags;
111 + (id)tbxmlWithXMLFile:(NSString*)aXMLFile fileExtension:(NSString*)aFileExtension;
112 + (id)tbxmlWithXMLFile:(NSString*)aXMLFile fileExtension:(NSString*)aFileExtension ignoredTags:(NSArray *)theIgnoredTags;
114 - (id)initWithURL:(NSURL*)aURL;
115 - (id)initWithURL:(NSURL*)aURL ignoredTags:(NSArray *)theIgnoredTags;
116 - (id)initWithXMLString:(NSString*)aXMLString;
117 - (id)initWithXMLString:(NSString*)aXMLString ignoredTags:(NSArray *)theIgnoredTags;
118 - (id)initWithXMLData:(NSData*)aData;
119 - (id)initWithXMLData:(NSData*)aData ignoredTags:(NSArray *)theIgnoredTags;
120 - (id)initWithXMLFile:(NSString*)aXMLFile;
121 - (id)initWithXMLFile:(NSString*)aXMLFile ignoredTags:(NSArray *)theIgnoredTags;
122 - (id)initWithXMLFile:(NSString*)aXMLFile fileExtension:(NSString*)aFileExtension;
123 - (id)initWithXMLFile:(NSString*)aXMLFile fileExtension:(NSString*)aFileExtension ignoredTags:(NSArray *)theIgnoredTags;
135 + (NSString*) valueOfAttributeNamed:(NSString *)aName forElement:(
OOTBXMLElement*)aXMLElement;
struct _OOTBXMLAttributeBuffer * previous
Definition: OOTBXML.h:79
char * text
Definition: OOTBXML.h:56
char * name
Definition: OOTBXML.h:49
char * value
Definition: OOTBXML.h:50
struct _OOTBXMLElement * nextSibling
Definition: OOTBXML.h:65
struct _OOTBXMLElement * previousSibling
Definition: OOTBXML.h:66
struct _OOTBXMLElementBuffer * previous
Definition: OOTBXML.h:73
struct _OOTBXMLElement * firstChild
Definition: OOTBXML.h:62
struct _OOTBXMLElement * parentElement
Definition: OOTBXML.h:60
struct _OOTBXMLElement * currentChild
Definition: OOTBXML.h:63
OOTBXMLAttribute * attributes
Definition: OOTBXML.h:77
OOTBXMLAttribute * firstAttribute
Definition: OOTBXML.h:58
OOTBXMLElement * elements
Definition: OOTBXML.h:71
char * name
Definition: OOTBXML.h:55
struct _OOTBXMLAttributeBuffer * next
Definition: OOTBXML.h:78
Definition: OOTBXML.h:131
struct _OOTBXMLElementBuffer * next
Definition: OOTBXML.h:72
struct _OOTBXMLAttribute * next
Definition: OOTBXML.h:51