Re: Reading an XML file


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Stephen Auerbach on October 11, 2008 at 06:48:13: Uploaded files: 1

In Reply to: Reading an XML file posted by Jim Guerber on October 07, 2008 at 09:48:36:

This is my super simple XML reformatting program that uses the Comet version of GetChar. It reads the input file one byte at a time and cares not at all about the size of the input file.
It is simple, but really very elegant. I'm very proud of the fact that it contains one (repeat one) statement label!
I timed the process [the attached file has the timing code in it so you can do your own timing] and it took three SECONDS to process a 42,000 bytes XML file. Reading one byte at a time is not as painful as you might think.
I can't supply the test file I used because it has real people's names and addresses.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]