Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFox 7 as ole db provider
Message
From
02/04/2002 20:23:24
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00640099
Message ID:
00640180
Views:
33
>Then someone showme an example with xml and databinding ...

There are a couple ways to do this, and most of them rely on Internet Explorer specific code. That may or may not be an issue. Regardless, I like the server side versions myself.

>I read about new xml functions in vfp 7 and I'm just wondering how to use it.

Well, one thing you coudl do is write a COM object like this in VFP:
DEFINE CLASS newcom AS Session OLEPUBLIC 
	FUNCTION GetTable(tcTable AS String) AS String 
		LOCAL lcXML
		USE (tcTable)
		CURSORTOXML(JUSTSTEM(tcTable), 'lcXML')
	RETURN lcXML
ENDDEFINE
and then call that from an ASP to get your XML. The ASP page can then use XSLT to create a table from it, or parse the XML manually, ect.
Previous
Reply
Map
View

Click here to load this message in the networking platform