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



Yes you can use CGIDEV2 without web

the big difference between CGIDEV2 and powerEXT Core is the following

1. powerEXT/xmlNode support is inline RPGLE support - no need for
templates, but it can also use templates or a mix between templates and
inline code
2. powerEXT/xmlNode do encode special characters correctly
3. powerEXT/xmlNode generates structured and indented XML files but can
compress them
4. If you receive a compressed XML file (very hard to read) there is a tool
to structure it
5. If you have a sample XML file you have to build the is a tool to
generate RPGLE code
6. powerEXT also comes with a build in XML Reader
7. If you are used to CGIDEV2 you can mix the CGIDEV2 and powerEXT
subprocedures



On Thu, Apr 19, 2012 at 5:49 PM, Jeff Young <jyoung0950@xxxxxxxxx> wrote:

Can I use CGIDEV2 outside a Web Application?
This program needs to run on demand in the batch or interactive
envrionment, not invoked from a browser.

Thanks,

On Thu, Apr 19, 2012 at 10:41 AM, Simmons, Ian <
Ian.Simmons@xxxxxxxxxxxxxxxxx> wrote:

Hi

Try using the free CGIDEV2 HTML programs from Giovanni Perotti and Mel
Rothman. These work equally well to create XML as HTML. You define a
template with placeholders for formats and variables, and call procedures
to fill those in. Ignore references to the web.

http://www.easy400.net/cgidev2/start

http://www.easy400.net/cgidev2o/jpart.htm

http://www.easy400.net/

Regards
Ian



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:
rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jeff Young
Sent: 19 April 2012 15:35
To: rpg400-l@xxxxxxxxxxxx
Subject: Create XML file

All,
I have a client that needs to send an XML document to one of their
customers with product data.
They do not want to purchase a package to do this.
The XML will not be sent to a web service, but will be placed in a
directory on the server for processing.

If possible, all of the work to build the document should be done in
RPGLE.

Excluding purchased software, can anyone point me to sample code or links
that explain how to do this?

Thanks,

--
Jeff Young
Sr. Programmer Analyst
--
This is the RPG programming on the IBM i / System i (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.




Please consider the environment before printing this email.


E-mail messages may contain viruses, worms, or other malicious code. By
reading the message and opening any attachments, the recipient accepts
full
responsibility for taking protective action against such code. Henry
Schein
is not liable for any loss or damage arising from this message.

The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee(s). Access to this
e-mail by anyone else is unauthorized.

--
This is the RPG programming on the IBM i / System i (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.




--
Jeff Young
Sr. Programmer Analyst
--
This is the RPG programming on the IBM i / System i (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.