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
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>