Kam
Right click on the xml & choose properties, you can then choose what
program opens the xml.
Andrew Stirling
01250 874580
http://www.calcpay.co.uk
HMRC Accredited UK payroll program
KAM wrote:
I have the following code:
LOCAL ;
lcDBF
lcDBF = dbffilename
IF EMPTY(lcDBF)
ssiMESSAGEBOX("You must select a table")
RETURN
ENDIF
lcAlias = juststem(lcdbf)
lcXML = lcAlias+".xml"
lcXSL = lcAlias+".xsl"
CURSORTOXML(lcAlias,lcXML,1,512,0)
** also
CURSORTOXML(lcAlias,lcXML,1,512,0,lcXSL)
** also
CURSORTOXML(lcAlias,lcXML,1,512,0,"1")
These do create an XML file from a VFP9 dbf. and it looks fine. How can you
browse the data? for example in a browser or MS Word?
Note that msdn has a program in article 256538 named FoxToXML. It does create an xml and xsl that look good however, foxfire, IE
and MS Word won't display it. I guess no one tested it before they posted it for download.
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.