× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I checked out the Expat on Scott's site, downloaded the savf, and tried to access the articles describing how to use it from RPG.

Bummer: you need a ProVIP membership to read them.

Well, I'll probably learn more by trying to figure it out by myself anyway.

Thanks for the info!


Peter Colpaert
Software Engineer, Philips Consumer Luminaires

Industrieterrein Satenrozen 11, 2550 Kontich, Belgium
Tel. +32/ 3 450 74 09, Fax +32/ 3 450 74 33, Internal 1317
peter.colpaert@xxxxxxxxxxx, www.philips.com

Simply Switch to printing double-sided and printing less





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





The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.