Best way to import XML Files
John Hemmer
hemmerjohn at hotmail.com
Sat Jun 19 09:09:15 PDT 2004
----- Original Message -----
From: "Fairlight" <fairlite at fairlite.com>
To: "filePro Mailing List" <filepro-list at seaslug.org>
Sent: Friday, June 18, 2004 10:13 PM
Subject: Re: Best way to import XML Files
> On Fri, Jun 18, 2004 at 09:52:33PM -0400, George Simon may or may not have
> proven themselves an utter git by pronouncing:
> > Mark, I'm not writing a chr("249") to an XML file. All I'm doing is
telling
> > filePro, which has no clue that I'm importing an XML file, to look for
> > chr("249") and the record and field delimiter.
> > Since it will never find such a delimiter in the file, it will import
all of
> > it at one time, thinking it jus just one big field.
>
> Ah, okay, this was the part I was confused on, despite Ken's last post.
>
> Problem is, you're limited to 32K of data. That's basically a little more
> than 16 full terminal screens of data. That's not terribly much room.
I'd
> personally opt for something more robust.
>
> And Ken, don't ask how I missed "_not_" when you took pains to underscore
> it. Maybe the underlines were hiding more than * or - would have.
They're
> kind of like ninja characters. :) I see what you were saying now.
>
> mark->
> --
Mark,
You are exactly right. That is why I sent a snippet of code using the
filePro
I/O commands. The code will work for a file of any size.
John
More information about the Filepro-list
mailing list