Indivo Framework (iOS)
An iOS framework for Apps connecting to Indivo server
|
A simle XML Parser to parse XML into our XML nodes. More...
#import <INXMLParser.h>
Inherits NSObject, and <NSXMLParserDelegate>.
Class Methods | |
(INXMLNode *) | + parseXML:error: |
Returns a dictionary generated from parsing the given XML string. More... | |
(BOOL) | + validateXML:againstXSD:error: |
Validates an XML string against an XSD at the given path. More... | |
A simle XML Parser to parse XML into our XML nodes.
+ (INXMLNode *) parseXML: | (NSString *) | xmlString | |
error: | (NSError * __autoreleasing *) | error | |
Returns a dictionary generated from parsing the given XML string.
Starts parsing the given XML string.
This method only returns once parsing has completed. So think of performing the parsing on a separate thread if it could take a long time.
xmlString | An NSString containing the XML to parse |
error | An NSError pointer which is guaranteed to not be nil if this method returns NO and a pointer was provided |
+ (BOOL) validateXML: | (NSString *) | xmlString | |
againstXSD: | (NSString *) | xsdPath | |
error: | (__autoreleasing NSError **) | error | |
Validates an XML string against an XSD at the given path.
Boldy transcribed from: http://knol2share.blogspot.com/2009/05/validate-xml-against-xsd-in-c.html