Sir,

I am new to VFP & want to create the XML file from data available as same is
required for import purpose in the standard software.

I can create the standard text file with ? & ?? command or with @prow(),
pcol() command with using the alternate or set devi to filename method.

But does not know anything about xml.

what is XML & how can i create the file in xml from table.

Re: XML File Creation by AtoutFox

AtoutFox
Sat Jul 19 07:03:18 CDT 2008

Hello,

if you have VFP9 and want to create XML from ONE table have a look at
CURSORTOXML function (XMLTOCURSOR to reverse the operation)

if you have more than one table involved, you will need a parser and can
create your own with TEXTMERGE ENDTEXTMERGE function
or
Use XMLDOM (MSXML4)

Hope that will help

François


"Bankim Desai" <BankimDesai@discussions.microsoft.com> a écrit dans le
message de groupe de discussion :
35071738-5406-4EA1-BAB0-CE8EDA5D4388@microsoft.com...
> Sir,
>
> I am new to VFP & want to create the XML file from data available as same
> is
> required for import purpose in the standard software.
>
> I can create the standard text file with ? & ?? command or with @prow(),
> pcol() command with using the alternate or set devi to filename method.
>
> But does not know anything about xml.
>
> what is XML & how can i create the file in xml from table.
>

Re: XML File Creation by Anders

Anders
Sun Jul 20 04:27:11 CDT 2008


"Bankim Desai" <BankimDesai@discussions.microsoft.com> wrote in message
news:35071738-5406-4EA1-BAB0-CE8EDA5D4388@microsoft.com...
> Sir,
>
> I am new to VFP & want to create the XML file from data available as same
> is
> required for import purpose in the standard software.
>
> I can create the standard text file with ? & ?? command or with @prow(),
> pcol() command with using the alternate or set devi to filename method.
>
> But does not know anything about xml.
>
le> what is XML & how can i create the file in xml from table.
>

Check out the XMLAdapter class which can create multitable nested, related
table schemes, and the XSD file or header that describes the relation to the
recipient XML parser.

-Anders



Re: XML File Creation by BankimDesai

BankimDesai
Mon Jul 21 23:54:01 CDT 2008

I am using VFP 8 and VFP 5.

I do not have VFP 9

"AtoutFox 37" wrote:

> Hello,
>
> if you have VFP9 and want to create XML from ONE table have a look at
> CURSORTOXML function (XMLTOCURSOR to reverse the operation)
>
> if you have more than one table involved, you will need a parser and can
> create your own with TEXTMERGE ENDTEXTMERGE function
> or
> Use XMLDOM (MSXML4)
>
> Hope that will help
>
> François
>
>
> "Bankim Desai" <BankimDesai@discussions.microsoft.com> a écrit dans le
> message de groupe de discussion :
> 35071738-5406-4EA1-BAB0-CE8EDA5D4388@microsoft.com...
> > Sir,
> >
> > I am new to VFP & want to create the XML file from data available as same
> > is
> > required for import purpose in the standard software.
> >
> > I can create the standard text file with ? & ?? command or with @prow(),
> > pcol() command with using the alternate or set devi to filename method.
> >
> > But does not know anything about xml.
> >
> > what is XML & how can i create the file in xml from table.
> >
>