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



I have the need to begin generating XML files to pass data to a vendor.
I understand that I will need to generate the XML content.  The question
is....how ?

Is the XML4PR still available ?  Can I find it on my iSeries ?  Or, am I
required to buy the XML Toolkit from IBM ?

Can I find some examples of generating XML with RPG somewhere ?

-----Original Message-----
From: Joel Cochran [mailto:jrc@xxxxxxxxxx] 
Sent: Wednesday, July 14, 2004 10:39 AM
To: RPGNext Discussion and Information
Subject: Re: [RPGNext] HTML/XML


You can use a serializer to write the XML, but I use the IFS APIs to
simply create a xml file in the IFS.

Joel

On Wed, 2004-07-14 at 19:11, Joel Schibbelhute wrote:
> That would probably be helpful. I'm not sure because I don't know 
> squat about writing xml from a 400 database. How do you do that 
> anyway? I haven't seen a pressing need to do this yet, but it will 
> probably pop up.
>  
> Joel S. 
> =================================================================
> message: 1
> date: Tue, 13 Jul 2004 14:09:43 +0000
> from: Joel Cochran <jrc@xxxxxxxxxx>
> subject: [RPGNext] HTTP/XML Output procedures
> 
> I ran into a problem today... I'm creating an XML file from a 400 
> database, and one of the fields has an ampersand embedded in the text.

> When I try to open the XML file in a browser (Firefox .8), it bombs 
> because of the ampersand (it should be &amp;).  To address this, I'm 
> going to write a procedure that will find HTML/XML special characters 
> and replace them with the appropriate codes.  There will also be a 
> co-procedure for un-converting these as well.
> 
> My question is, will this be useful as part of the xRPG library?  And
> if
> so, are there any other similar procedures I could add to create a new
> s! ervice program?  I already have an "unescape" routine that I use to
> convert incoming URL strings from their embedded codes (%20 = a space,
> %2c = a comma, etc), so I could add that as well.  Stuff like that or
> anything dealing specifically with HTML/XML string processing would be
> great.
> 
> Joel
> 
> 
> Joel Schibbelhute
> Deep River Resources
> 6225 Moccasin Pass Ct.
> Colorado Springs, Co 80919
> 719.592.1412
> 
> 
> ______________________________________________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> 
> ______________________________________________________________________
> _______________________________________________
> This is the RPGNext Discussion and Information (RPGNext) mailing list 
> To post a message email: RPGNext@xxxxxxxxxxxx To subscribe, 
> unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpgnext
> or email: RPGNext-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives at 
> http://archive.midrange.com/rpgnext.

_______________________________________________
This is the RPGNext Discussion and Information (RPGNext) mailing list To
post a message email: RPGNext@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpgnext
or email: RPGNext-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpgnext.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.