请教下dhtmlxScheduler的日程显示问题
scheduler.load("<%=basePath%>person/getDailyPlanByUser?sid=" + new Date());
上面的url返回的是string变量,值为:
<data>
<event id='1343872370242' start_date='2012-08-02 09:00' end_date='2012-08-02 13:05' text='rrrrrrrr' details='rrddd' />
<event id='1b760761-919c-4d05-b057-6e6ec4f23fd3' start_date='2012-08-02 09:00' end_date='2012-08-02 13:05' text='tttttttttttt' details='tttttttttttttttttttt' />
<event id='3cff4dcc-002e-4a24-af0e-cd5e4e205885' start_date='2012-08-01 10:55' end_date='2012-08-01 14:15' text='ffffffffffff' details='fffffffffffffffffffff' />
<event id='b2d67cd5-82e9-4d89-a664-47a7b24d0d81' start_date='2012-08-02 08:45' end_date='2012-08-02 11:50' text='gggggggggggg' details='ggggggggggggggggg' />
<event id='d72762cf-c08a-4528-b045-95066182e534' start_date='2012-07-31 08:50' end_date='2012-07-31 12:05' text='hhhhhhhhhhh' details='hhhhhhhhhhhhhhhhhhhhh' />
</data>
为什么日历上显示不出来,反而弹出一个下面的对话框:对话框的内容就是上面的string变量的值,不过前后都多了一个双引号。
请问大家知道是怎么回事吗,要怎么样才能从数据库中载入日程数据?