I have an xml file that i am using as my data to populate a list.
It works perfect in firefox but gives me an error in IE
Here is the xml:
<events>
<event>
<name>Promotion</name>
<date>January 17th 2009</date>
<pic>promo1.gif</pic>
<desc>coming soon...</desc>
</event>
</events>
and my spry data region:
<div spry:region="ds1" >
<h1>Upcoming Events</h1>
<div spry:repeat="ds1">
{ds1::name}
</div>
</div>
and the code that dreamweaver put in:
<script src="../SpryAssets/xpath.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryData.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.XMLDataSet("../Events/events.xml", "events/event");
//-->
</script>
And the error message in IE:
Exception caught while loading Events/events.xml: [object Error]
Any suggestions?
Thank you
It works perfect in firefox but gives me an error in IE
Here is the xml:
<events>
<event>
<name>Promotion</name>
<date>January 17th 2009</date>
<pic>promo1.gif</pic>
<desc>coming soon...</desc>
</event>
</events>
and my spry data region:
<div spry:region="ds1" >
<h1>Upcoming Events</h1>
<div spry:repeat="ds1">
{ds1::name}
</div>
</div>
and the code that dreamweaver put in:
<script src="../SpryAssets/xpath.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryData.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.XMLDataSet("../Events/events.xml", "events/event");
//-->
</script>
And the error message in IE:
Exception caught while loading Events/events.xml: [object Error]
Any suggestions?
Thank you