Monaj
Jun 4, 2009, 01:42 AM
hi
i made an iphone application when i give the absolute path it run fine.i.e
NSURL *xmlURL = [NSURL fileURLWithPath:@"/Users/Abn/Desktop/iphoneTry/questionBank.xml"];
But when i give the relative path it did not parse the file.
NSURL *xmlURL = [NSURL fileURLWithPath:@"questionBank.xml"];
Error:-
ERROR:Operation could not be completed. (NSXMLParserErrorDomain error 5.)
In general info tab, path type is : relative to enclosing group
file type:text.xml
thanks
i made an iphone application when i give the absolute path it run fine.i.e
NSURL *xmlURL = [NSURL fileURLWithPath:@"/Users/Abn/Desktop/iphoneTry/questionBank.xml"];
But when i give the relative path it did not parse the file.
NSURL *xmlURL = [NSURL fileURLWithPath:@"questionBank.xml"];
Error:-
ERROR:Operation could not be completed. (NSXMLParserErrorDomain error 5.)
In general info tab, path type is : relative to enclosing group
file type:text.xml
thanks
