HP3000-L Archives

December 2012, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Wonsil <[log in to unmask]>
Reply To:
Mark Wonsil <[log in to unmask]>
Date:
Sat, 8 Dec 2012 15:52:55 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
> The next thing that I expect to be writing for, if not actually on,
> our HP3000 is a set of quiz reports to extract our database data into
> xml files for transfer and loading into our new billing system.

There's no reason to go through the pain, processing, and space of
creating XML files on the 3K, just export a delimited file and use
something like this:

http://msdn.microsoft.com/en-us/library/aa302293.aspx

XmlCsvReader is a sample implementation of an XmlReader that parses
tab-delimited .csv files and presents their contents as a stream of
XML elements; XmlReader is the Microsoft .NET Framework base class for
all managed stream-level XML processing.

or use event-based parsing (via SAX) and don't create the XML file ever:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms761373(v=vs.85).aspx

Mark W.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2