Best way to import XML Files

Kenneth Brody kenbrody at bestweb.net
Tue Jun 15 11:20:31 PDT 2004


George Simon wrote:
> 
> That is what I was going to try to do, but it seemed (still does) like a lot
> of work.
[...]
> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Kenneth Brody
[...]
> You could try IMPORT ASCII, with ">" as the record delimiter.  This would
> at least give you one tag at a time.  You would still have to parse each
> chunk, but this would break it up into managable chunks.

Well, you say that there are no record delimiters, so you can't use
something like READLINE() to read a line at a time.  You could use
READ() to get a certain-sized chunk at a time, but then you still
have to break it into "logical" chunks after that.  My suggestion
simplifies it one step by making sure that you don't get more than
one tag at a time.

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody at spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+




More information about the Filepro-list mailing list