Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro and XML?
Message
From
07/04/2000 14:31:26
 
 
To
07/04/2000 14:10:35
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00357014
Message ID:
00357033
Views:
16
>I have a question,
>Is it possible to query a FoxPro table (NT enviroment)
>format that recordset into a XML object document and displayed it
>into a web page?

First, I have to ask why you want to do this. Only IE will display untransformed XML, and the stylesheet it uses to do so does not make it an end- user friendly display.

>and If so, everytime a change ocurred on the table(FoxPro) the
>web page will have something like a timer where then the XML object will get updated and re-displayed into the Web page without having to refresh or hit refresh?

There is really no way to push a web page to a browser- the browser has to refresh itself. You can have a web page that uses the Refresh meta tag (view source in the lower left pane here to see what I mean) to refresh itself at certain intervals.

You would need to have code running on the web server to query the data and build the XML output. Rick Strahl has built a very easy to use utility that will convert a table to XML- you could use this utility in a COM object called from an ASP or other server code.

>kind of a grid refresh() kind of thing but by means of XML

If you want to display XML in a web page in the format of an HTML table, you will need to transform it using a stylesheet. But unless you specifically need XML, why not just use an HTML table generated from your cursor?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform