× 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 Mr Beeson,

Like Martin said I wouldn't recommend using xml4pr400 to generate your
XML.  I would instead use a templating technology like CGIDEV2
(http://www-922.ibm.com/servers/eserver/iseries/easy400) or Brad Stones
eRPG SDK (http://bvstools.com).  That takes all of the XML out of your
RPG programs to create a nice separation for ease of maintenance.  I
must note that it would still be good for you, as you are in development
and testing, to validate your XML against your schema using a third
party tool (Check out WDSc's facilities) to make sure your trading
partner is getting an agreed upon document.

Aaron Bartell

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] 
Sent: Thursday, October 28, 2004 7:06 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Generating DOM or SAX XML using XML4PR400


>Hi All
>I need to generate an XML string to pass to our Supplier using
XML4PR400.
I'm kind of new to XML and have only parsed incoming XML using XML4PR400
>and DOM.

hi terry,
i'd suggest that you don't use xml4pr400.
just use plain rpg to write your data to the ifs for such small tasks.
you could use scott klements ifs procedures (also contained in aarons
xml
savefile) for this.

Otherwise look at aarons example2.

regards
 Martin


--
This is the RPG programming on the AS400 / 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 ...


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.