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



One problem with the toolkit is that IBM's examples are so horrible that they kill your will to live. You really don't need it for your situation.

There are any number of ways to generate XML. We wrote up one option here: http://www.ibmsystemsmag.com/ibmi/developer/rpg/Using-CGIDEV2-for-Generating-XML/

That approach works well in some cases - but others benefit from the kind of approach taken in powerExt which is mentioned here: http://ibmsystemsmag.blogs.com/idevelop/2011/04/new-xml-tooling.html

Also in that article is Larry Ducie's xmli which I really like as it allows for either a template approach similar to cgidev2 - or an api approach like powerExt. But it does have a steeper learning curve if you want to use the template approach. Find it here: http://sourceforge.net/projects/xmli/

If you have V7 there are also DB2 options but I have found the DB2 approach a bit clumsy and overly complicated in the past and you really need tooling to help build the mappings.


On 2013-07-18, at 1:53 AM, Dirk.Marien@xxxxxxxxxxxxxxxxx wrote:

Hi,

I'm looking for simple example programs (RPG) that use the IBM XML
toolkit. The only functionality needed is :

* Create an XML based on two files (header and detail) and put it on the
IFS
* Read an XML from the IFS and put the data in files (header and detail)

Can anyone help me with this (I've never used the IBM XML Toolkit)?

Kind regards,
Dirk

--

Jon Paris

www.partner400.com
www.SystemiDeveloper.com





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.