Reading an xml from ios

i have a xml file sitting in a editor folder called resources: and i have an xml loading function:
URLString3 = “file://” + Application.dataPath+“/FlippingBook/Resources/images1.xml”;

WWW ww3 = new WWW(URLString3);
yield return ww3;
string XmlString = ww3.text;
XmlDocument XmlData = new XmlDocument();
XmlData.LoadXml(XmlString);
XmlElement root3 = XmlData.DocumentElement;

and this works perfectly in editor however when i port it to iphone i get:

at Mono.Xml2.XmlTextReader.Read () [0x00000] in :0
at System.Xml.XmlTextReader.Read () [0x00000] in :0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in :0
at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in :0
at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in :0
at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00000] in :0
at BookEdit+c__Iterator0.MoveNext () [0x00000] in :0

how do i resolve this?

the resources folder ceases to exist after build, all these data will be integrated as text asset in the build or not used at all.

if you want to have hte file present as file you must use the StreamingAssets folder or store it on the device manually at runtime

how would i go about storing it manually?

You would use System.IO to store it (Application.persistentDataPath is what you might start looking for path wise).
You could use the xml you have in the resources and just use

Resources.Load (…) to get a TextAsset and then just write out the textAsset.text to the xml in the persistentDataPath

Or you get it through WWW and then write the www.bytes out