I am new in iOS programming; and now I am trying to parse a local XML file. It worked properly and showed the name in NSLog; but when i pasted the same thing over it showed only
The problem is not with your parsing code, but with your XML input. An XML file must have a single top-level element, for example:
<Authors>
<Author>
...
</Author>
<Author>
...
</Author>
<Author>
...
</Author>
</Authors>
In your case, the XML parser stops reading after the first Author element.