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

I do urge you to follow the advice that you have been given with regard to alternatives. But if you find you need dom manipulation and the ability to combine document fragments as well a schema validation then xml4pr is brilliant.

I wrapped the whole framework, so that it could called from a synon model (generating rpg 3) about 2-3 years ago and had to raise various pmr's as large parts of the fragment functionality just returned errors. To their credit IBM fixed it pretty quickly. But it made me 100% certain no one is using this framework.

If after trying the alternatives you still want to use it, let me know and I'll try to help guide you through it, I spent months reading the c docs it was very very painful. The end product however is robust, not a single bug in 3 years.

Cheers Neill



Sent from my iPad

On 18 Jul 2013, at 12:35, Jan Grove Vejlstrup <jgv@xxxxxxxx> wrote:

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

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


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.