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



Hi all,

thanks to all that responded to this issue. CGIDEV2 indeed is great (and
easy to use). I will use this to create the XML-file and xml-into to get
data from (another) xml.

Kr,
Dirk

PS: special thank to Jan Grove to send documentation and samples... .



From: Jan Grove Vejlstrup <jgv@xxxxxxxx>
To: rpg400-l@xxxxxxxxxxxx,
Date: 18/07/2013 13:38
Subject: Re: IBM XML toolkit example
Sent by: rpg400-l-bounces@xxxxxxxxxxxx



Hello Dirk

In the attached file, please find:

* Article written by Scott Klement on using CGIDEV2 to generate XMLs
* the program gemx201 that uses XML-INTO to get information from the
XML-file opentrans_muster_ORDRSP
* the file xmlsax containing the subprocedure parseOrderXml, that is
used to parse the xml-file order.xml.


If you need further information, don't hesitate to contact me.

Best regards

Jan

Am 18.07.2013 12:11, schrieb Dirk.Marien@xxxxxxxxxxxxxxxxx:
Jan Grove,

some examples would be greatly appreciated !!!

Kr,
Dirk.


Dirk Mariën

Toyota Motor Europe
60 Avenue du Bourget,
1140 Brussels, Belgium

Ph: +32 (0) 2 745 2581

www.toyota-europe.com



From: Jan Grove Vejlstrup <jgv@xxxxxxxx>
To: rpg400-l@xxxxxxxxxxxx,
Date: 18/07/2013 09:01
Subject: Re: IBM XML toolkit example
Sent by: rpg400-l-bounces@xxxxxxxxxxxx



Hello Dirk

The IBM XML Toolkit is rather complex.

To create a XML I use CGIDEV2 (www.easy400.net).

To read a XML I use the RPG-statements XML-INTO or XML-SAX.

Sample porgrams can be found on the internet. If you don't succeed, I
can give you sample programs.

Good luck.

Best regards

Jan

Am 18.07.2013 07:53, schrieb Dirk.Marien@xxxxxxxxxxxxxxxxx:
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



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.