I am considering storing some pertinent session/file information in an XML
style format. Has anyone used MS XML for storing information within an App?
Has anyone written a standalone parser that will handle "Tagging" as
XML/HTML does? I have never used MS XML so I would have a learning curve
that I fear would be longer than just writing my own parser with
fgets/fputs/etc.

I am using this style of data storage to allow interoperability between a
couple of applications. (i.e. Dynamic Fore/Back colors established in one
program will be retained in another - For a very simple example)

Any thoughts are appreciated.


Thanks,

Scott

Re: XML-Like Data structures by Trey

Trey
Mon Dec 01 13:40:56 CST 2003

I haven't done it, but sounds like a good idea.

What version of VFP are you using? VFP7 and up can convert XML to cursors
and back, so you wouldn't need to parse anything yourself, necessarily.

"Scott Cadreau" <scadreau@aros.net> wrote in message
news:peedncGXMPAuDlaiRVn-uw@aros.net...
> I am considering storing some pertinent session/file information in an XML
> style format. Has anyone used MS XML for storing information within an
App?
> Has anyone written a standalone parser that will handle "Tagging" as
> XML/HTML does? I have never used MS XML so I would have a learning curve
> that I fear would be longer than just writing my own parser with
> fgets/fputs/etc.
>
> I am using this style of data storage to allow interoperability between a
> couple of applications. (i.e. Dynamic Fore/Back colors established in one
> program will be retained in another - For a very simple example)
>
> Any thoughts are appreciated.
>
>
> Thanks,
>
> Scott
>
>
>



Re: XML-Like Data structures by Scott

Scott
Mon Dec 01 14:09:21 CST 2003

I am using VFP8 SP1. I will research the XML to cursors in the online help.
I would really rather not write a parser. :)

Thanks,

Scott

"Trey Walpole" <treyNOpole@SPcomcastAM.net> wrote in message
news:OihHLMEuDHA.424@TK2MSFTNGP11.phx.gbl...
> I haven't done it, but sounds like a good idea.
>
> What version of VFP are you using? VFP7 and up can convert XML to cursors
> and back, so you wouldn't need to parse anything yourself, necessarily.
>
> "Scott Cadreau" <scadreau@aros.net> wrote in message
> news:peedncGXMPAuDlaiRVn-uw@aros.net...
> > I am considering storing some pertinent session/file information in an
XML
> > style format. Has anyone used MS XML for storing information within an
> App?
> > Has anyone written a standalone parser that will handle "Tagging" as
> > XML/HTML does? I have never used MS XML so I would have a learning
curve
> > that I fear would be longer than just writing my own parser with
> > fgets/fputs/etc.
> >
> > I am using this style of data storage to allow interoperability between
a
> > couple of applications. (i.e. Dynamic Fore/Back colors established in
one
> > program will be retained in another - For a very simple example)
> >
> > Any thoughts are appreciated.
> >
> >
> > Thanks,
> >
> > Scott
> >
> >
> >
>
>



Re: XML-Like Data structures by Hank

Hank
Mon Dec 01 20:57:40 CST 2003

Hi Scott,

hint: if you want to put multiple cursors in one file, look at the
xmladapter.

Hank

--

www.prosysplus.com
"Scott Cadreau" <scadreau@aros.net> wrote in message
news:BK-dnYDJbbFuAlai4p2dnA@aros.net...
> I am using VFP8 SP1. I will research the XML to cursors in the online
help.
> I would really rather not write a parser. :)
>
> Thanks,
>
> Scott
>
> "Trey Walpole" <treyNOpole@SPcomcastAM.net> wrote in message
> news:OihHLMEuDHA.424@TK2MSFTNGP11.phx.gbl...
> > I haven't done it, but sounds like a good idea.
> >
> > What version of VFP are you using? VFP7 and up can convert XML to
cursors
> > and back, so you wouldn't need to parse anything yourself, necessarily.
> >
> > "Scott Cadreau" <scadreau@aros.net> wrote in message
> > news:peedncGXMPAuDlaiRVn-uw@aros.net...
> > > I am considering storing some pertinent session/file information in an
> XML
> > > style format. Has anyone used MS XML for storing information within
an
> > App?
> > > Has anyone written a standalone parser that will handle "Tagging" as
> > > XML/HTML does? I have never used MS XML so I would have a learning
> curve
> > > that I fear would be longer than just writing my own parser with
> > > fgets/fputs/etc.
> > >
> > > I am using this style of data storage to allow interoperability
between
> a
> > > couple of applications. (i.e. Dynamic Fore/Back colors established in
> one
> > > program will be retained in another - For a very simple example)
> > >
> > > Any thoughts are appreciated.
> > >
> > >
> > > Thanks,
> > >
> > > Scott
> > >
> > >
> > >
> >
> >
>
>



Re: XML-Like Data structures by George

George
Mon Dec 01 21:25:37 CST 2003

Hi Scott,

hint2: if you want to get the value of a unique element without walking the
tree or dealing with xPath, look at the strextract function.

George

"Hank Fay" <hank@prosysplus.com> wrote in message
news:e6m3LAIuDHA.2432@TK2MSFTNGP10.phx.gbl...
> Hi Scott,
>
> hint: if you want to put multiple cursors in one file, look at the
> xmladapter.
>
> Hank
>
> --
>
> www.prosysplus.com
> "Scott Cadreau" <scadreau@aros.net> wrote in message
> news:BK-dnYDJbbFuAlai4p2dnA@aros.net...
> > I am using VFP8 SP1. I will research the XML to cursors in the online
> help.
> > I would really rather not write a parser. :)
> >
> > Thanks,
> >
> > Scott
> >
> > "Trey Walpole" <treyNOpole@SPcomcastAM.net> wrote in message
> > news:OihHLMEuDHA.424@TK2MSFTNGP11.phx.gbl...
> > > I haven't done it, but sounds like a good idea.
> > >
> > > What version of VFP are you using? VFP7 and up can convert XML to
> cursors
> > > and back, so you wouldn't need to parse anything yourself,
necessarily.
> > >
> > > "Scott Cadreau" <scadreau@aros.net> wrote in message
> > > news:peedncGXMPAuDlaiRVn-uw@aros.net...
> > > > I am considering storing some pertinent session/file information in
an
> > XML
> > > > style format. Has anyone used MS XML for storing information within
> an
> > > App?
> > > > Has anyone written a standalone parser that will handle "Tagging" as
> > > > XML/HTML does? I have never used MS XML so I would have a learning
> > curve
> > > > that I fear would be longer than just writing my own parser with
> > > > fgets/fputs/etc.
> > > >
> > > > I am using this style of data storage to allow interoperability
> between
> > a
> > > > couple of applications. (i.e. Dynamic Fore/Back colors established
in
> > one
> > > > program will be retained in another - For a very simple example)
> > > >
> > > > Any thoughts are appreciated.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Scott
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: XML-Like Data structures by Matthias

Matthias
Tue Dec 02 08:22:22 CST 2003

Hi Scott,

Scott Cadreau wrote:
> I am using this style of data storage to allow interoperability
> between a couple of applications. (i.e. Dynamic Fore/Back colors
> established in one program will be retained in another - For a very
> simple example)

Maybe my little parser could help you ...
(http://www.universalthread.com/wconnect/wc.dll?FournierTransformation~2,2,1
8823)

hth
Matthias