I tried to compile the RPG example to create XML and I am getting a error
because getPolygonPerimeter is in two of the copy book members.
CP_LONGPRS and CP_PROTOS

----- Original Message ----- 
From: "Joel Cochran" <joelcochran@xxxxxxxxx>
To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
Sent: Thursday, November 10, 2005 11:16 AM
Subject: Re: [WEB400] XML


<SNIP>
If you want/need to do it in RPG, here is a sample program on my website
that demonstrates writing XML to the IFS:
http://www.rpgnext.com/codesamples/BPRSLTXML.RPG

It even includes some indenting for readability. It just reads from an
array, but you could obviously alter it to read an SQL cursor instead. You
should be able to use most of the subprocedures as they are. The key one to
change would be "WriteData()".

HTH,
Joel


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.