|
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: woensdag 4 maart 2009 6:16
To: Midrange Systems Technical Discussion
Subject: Re: Reading XML with an RPG program
Paul,
There are at least a dozen ways to read XML from RPG. Different
methods
require different releases and LPPs.
a) Expat is free (open source) and should work on V5R2 with no
problems.
It requires a little more knowledge/programming.
http://www.scottklement.com/expat/
b) the XML-INTO/XML-SAX RPG opcodes were released in V5R4. XML-INTO is
especially easy to use -- but does have limitations, it won't work with
all docs, and of course it requires V5R4.
c) The IBM XML Toolkit has been around for quite a long time.. I don't
remember which release it started in. Frankly, it's really cumberssome
to use, and all of the examples were written by C programmers (they
translated their C to RPG -- but it's not the way an RPG programmer
would write code. Lots of pointer logic, etc...) IMHO, it's not a
good
way to get started with XML, it's too complicated. The XML Toolkit is
an LPP.
d) There are many, many 3rd party options out there.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.