:: Forum >>

How to load XML dynamically

Instead of storing the XML data as a file, I wish to send the XML string to the XML and then load it.

How can I do that?

Tuesday, December 16, 2003
In case you are going to build XML on the server side - I would suggest exposing it as a 'web service' instead of embedding XML string into your GUI page.

The ActiveWidgets download package has several examples how to get web service data into the grid (/examples/grid directory). Current support includes GET and POST methods (SOAP will be added at the later stage). Some examples use static XML files for simplicity (which are copies of actual web service responses, built with WebMatrix and VS.NET), some examples use public web services from xignite.com (those marked as IE only due to Mozilla security restrictions).
I am working on documenting all these features - as of now please look at the examples source code.

Alex (ActiveWidgets)
Tuesday, December 16, 2003

It works.

I have a real time table with around 300++ records, and 16 columns. Seems like sorting consume lots of time :)


Wednesday, December 17, 2003
There is a possibility for define to Mozilla a "secure provider" and use also with Mozilla exemples marked as "IE only" ? If no, how can I load XML dinamically with Mozilla ?
Wednesday, December 17, 2003
All examples will work both in IE and Mozilla if you put the requesting page and the web service into the same domain. IE also allows to request http:// data from any file:// URL while mozilla is not. In my examples "IE only" just means "if you open this page from your local filesystem - it will work on IE but not Mozilla).

In general if you want to request the data from the different domain - you need to build a server-side proxy. Mozilla uses some tricks to allow cross-domain calls but IE does not have any equivalent (as far as I know).

Alex (ActiveWidgets)
Wednesday, December 17, 2003
Thanks a lot
It's very very great html table script

If your code have date/time picker,search,filter functions
It would be wonderful

Sutham Rojanusorn
Sunday, February 29, 2004

This topic is archived.

Back to support forum

Forum search