I was under the impression that the next version of word is to be XML but
not current ones
Allen 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of KAM
Sent: 15 September 2006 19:54
To: [EMAIL PROTECTED]
Subject: How to display XML? need xsl

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.

Reply via email to