Hi ryan, and thank you for your answer!!! I'm using a restlet server (running on localhost:8180) that serve the html page with the timeplot call (timeplot.loadXML(\"http://localhost: 8180/dataserver.xml\", eventSource)), and the xml file with data (the timeplot called offline with the same data works well). I think it's not a cross domain call, everything is on the same server....right?
Marco On 17 Set, 02:52, Ryan Lee <[email protected]> wrote: > Hi Marco, > > The example on the main Timeplot page includes a working Timeplot with > text and XML: > > http://simile-widgets.org/timeplot/examples/immigration/immigration.txthttp://simile-widgets.org/timeplot/examples/immigration/us_population...http://simile-widgets.org/timeplot/examples/immigration/us_history.xml > > Part of your question seems to suggest you may be trying to do something > outside the browser's same-domain origin policy. Make sure your > Timeplot and your data reside on the same server, unless you have CORS > compatibility set up. > > Please refine your question if this doesn't address your issue. You may > want to point us to your trials so we can see precisely what you're doing. > > On 9/16/11 8:19 AM, Marco Balduini wrote: > > > > > > > > > Hallo all, > > i'm new to simile, in particular to the timeplot function, and i try > > to retrieve a txt data from remote server and use these data in > > timeplot function, but the browser response that can't parse xml data > > (instead txt data) from server. > > > Could someone post an example of xml file that this fuction can plot, > > or an example regarding how use txt data retrieved from a server. > > > Thanks in advance. > > > Marco -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
