HP3000-L Archives

June 2003, Week 4

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:
Date:
Tue, 24 Jun 2003 12:50:53 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
HP-3000 Systems Discussion wrote:
> I keep seeing references to conversion -TO- xml but I canot see any
> thing, if it exists, that facilitates conversion -FROM- xml to fixed
> width records. Either on the 3K or PC to be passed to the 3K.
>
> A simple toolset that would enable me not spend the next n months
> writing my own parser.

Oh, I wouldn't do that.  Here's something that may help:

XML/Unix Processing Tools

These tools are used to convert XML and HTML to and from a line-oriented
format more amenable to processing by classic Unix pipeline processing
tools, like grep, sed, awk, cut, shell scripts, and so forth.
http://www.ofb.net/~egnor/xml2/

These tools are based on the same idea as Pyxie, a line-oriented way of
representing markup used in SGML (ESS to be exact).
(http://pyxie.sourceforge.net/)

If you're not afraid to use Java, you should also look at SAX.
http://www.saxproject.org/
This is a processing model for XML that one could create flat files too.

> This may be a lot (or a very stupid thing) to ask.

No, not at all.

HTH,

Mark

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

ATOM RSS1 RSS2