Hi,
I have a xml document which has only one element in the document, which is
<error>error string<error>
But when i try to parse it, it says this document has no element at all. In other words when i try to access the rootElement it says "null"
CXMLDocument *rssParser = [[[CXMLDocument alloc] initWithContentsOfURL:url options:0 error:nil] autorelease];
NSLog(@"Root: %@",[[rssParser rootElement] name]);
Please tell me what is wroing with this.
Thanks