Hi,
I am using newtree.loadXML(‘Data.aspx?Type…’) to load the first level of the tree, and newtree.setXMLAutoLoading(“Data.aspx?Type=getSubTree”) to load the child nodes. It is working in IE; however, I am getting “DataStructure XML reffers to not existing parent” error in Safari. The sample data for the parent is
<?xml version="1.0" encoding="utf-16"?>
production
and the sample data for the child is:
<?xml version="1.0" encoding="utf-16"?>
e
media
1
43179.95703125
1044505
197606
189418
dailyreel
rtsp://3.23.187.50/daily/staging/2_1500k.wmv
Rock / E00211 / R012 / Day 5
Please help.
There is an error in xml structure, the next tag is not closed
must be
<item text=“Daily” id=“mhdr1044505” im0=“folderClosed.gif” im1=“folderOpen.gif” im2=“folderClosed.gif” child=“1” />
I found the problem is inside the aspx code behind file, the Response.ContentType = “application/xml” was missing. After putting the xml header, Safari is working fine.