HP3000-L Archives

July 2000, Week 5

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:
Neil Harvey <[log in to unmask]>
Reply To:
Neil Harvey <[log in to unmask]>
Date:
Sun, 30 Jul 2000 08:13:42 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
I have a tiny Cobol program that lives in an XL.
It is called with a buffer containing a raw XML message, and it returns the
original message, and a table containing the decoded tagnames and values.

It's pretty much limited (but extendable) in that it is hard coded to expect
a max of 65535 characters in the raw XML message, and returns up to 1200
tag/value pairs. Each tag can be 50 characters, and each value 150
characters.
It does signal if more than 1200 tag/values pairs were found, and it also
signals if the tagname or tag value (or both) exceed the hard coded limits
(50,150 respectively).

Also, it's Cobol, so you need the Cobol compiler.

The calling program can then use simple perform varying structures to "find"
a tag and it's corresponding value.

But it does work (for me anyway) and it's fast and can be built upon.

I have sent a copy to Marcus, and will do so to anyone else who wants it. If
you can improve on it, please share your enhancements.

Regards

Neil



-----Original Message-----
From: Marcus E. Carlson [mailto:[log in to unmask]]
Sent: Friday, July 28, 2000 7:29 PM
To: [log in to unmask]
Subject: MPE/ix 6.0 & xml


Greetings:

Can anyone refer me to resources for getting an xml parser onto our 3k.

Thanks,

Marcus

ATOM RSS1 RSS2