Best way to import XML Files

Kenneth Brody kenbrody at bestweb.net
Fri Jun 18 10:17:19 PDT 2004


George Simon wrote:
> 
> This is basically the same way I did it.
> I just finished writing the code and it seems to work just fine.
> I discovered that filePro will let you use graphic characters as field and
> record delimiters, so I used chr("249") which is a period in the middle of
> the line ( · ) as both my field and record delimiters.
> Since this character is never found, filePro imports the entire file into a
> dummy in one step.  No need to replace the >.
[...]

If you're going to read the entire file in one gulp anyway, why not just
use the file I/O functions instead?

Just remember that you're still limited to the 32K-1 field size.

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