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