Best way to import XML Files
Kenneth Brody
kenbrody at bestweb.net
Tue Jun 15 06:37:45 PDT 2004
George Simon wrote:
>
> Hi John, this is a Windows application so the copy *.xml big.xml wlill merge
> all the xml files into one big one (big.xml)
> My concern was how to parse this large file when there are no record
> delimiters (each file would be one record).
> Field delimeters I'm not too concerned about because I can search for the
> XML tags.
> I could try to import the entire file into one record and then search for
> the opening and ending tags.
> Maybe Nancy has some suggestions since she does this all the time.
[...]
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.
--
+-------------------------+--------------------+-----------------------------+
| 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