Just thought I'd answer my own question, I built the Xelement in the controller in a separate function and had that function return the Xelement object as an ActionResult, then in my view for the file path for the XML file I just called the function this way "controllername/ functionname" and everything works!
On Jun 1, 12:16 pm, Ben <[email protected]> wrote: > Hey I've stumbled upon Simile Timeline, and I'm new to C# as well as, > obviously, Simile Timeline! I'm currently pulling information > information from an MSSQL database, and I've formatted all the data > into XElements in C#, exactly how it's formatted in the example XML > sheets. However, this is where I get stuck. I read this > article:http://groups.google.com/group/simile-widgets/browse_thread/thread/37... > where he gets the XML information to javascript by having C# basically > just print out the information into javascript variables. Is there a > better way to accomplish this by maybe just feeling the XElement as an > XML sheet into the Simile Timeline? Excluding saving it as an actual > file to the computer and having Simile open that file by access that > file on the hard disk? I'm basically asking if there's a way to serve > up this XElement as an XML object directly to have the loadXML > function just read that object? > > Thanks for any help anyone can provide! > > Ben -- 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.
