I'm using NSXMLParser to parse a local XML file on my iPad. Now I want to modify the file. I want to put some lines at the almost end of it.
This is what my file looks like:
<dict>
<element att1="atribute" att2="atribute" att3="atribute" att4="atribute" />
<element att1="atribute" att2="atribute" att3="atribute" att4="atribute" />
<element att1="atribute" att2="atribute" att3="atribute" att4="atribute" />
<element att1="atribute" att2="atribute" att3="atribute" att4="atribute" />
</dict>
How could I solve this? I tried to load a dictionary or array "with contents of file..." but it always returned (null) in the log.
Any ideas?