× 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 

Aaron and Martin - Thanks for your replies.  

I've loaded CGIDEV2 and got it working.  It looks brilliant!
I'm working through the documentation and am having difficulty getting to grips 
with how CGIDEV can help me with my XML problem.

Our objective is to build an XML string from data stored in multiple Physical 
Files, and send it to our Supplier via FalconMQ and MSMQ (Message queuing 
software).  My goal right now is to generate the XML.

Can CGIDVE2 help me produce XML from database files?  I've had a look at the 
CGIDEV tool and can't find any reference to XML, just HMTL.  

Aaron - I thought I had a solution based on your DOMPARSE Example2 program, but 
I have seen on several posts etc that this won't be supported much longer.  Is 
XMLSAX another option?  

Aaron - Did you mean "Get URI" from bvstools?  Also thanks for the tip on 
schema validation.

Thanks for your help :)

Regards,
Terry


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Bartell, Aaron L.
(TC)
Sent: 28 October 2004 14:04
To: RPG programming on the AS400 / iSeries
Subject: RE: Generating DOM or SAX XML using XML4PR400


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.


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