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?