|
Phil & Rizwan, The extenders are available at V5R1 for a fee. I don't think they are really expensive, but they are also not that powerful. They can dump an XML document into a similarly structured database file, but optimal database structure does not match optimal XML document structure. The procedural parser (RPG) is somewhat limited because it is based on the C++ version of Xerces, which is behind the Java version. Most applications built for the iSeries are expected to be industrial strength. The older versions of Xerces (including IBM's XML4J 2.0.15) are somewhat behind. They do not support schemas at this point, which is where I think most iSeries shops want to be. To get that support you need to get to a very recent version of Xerces, I am using 1.4.2 without any problems in both VA/Java 3.5.3 and on my iSeries system. A lot depends on what release you are on, your familiarity with Java, and what you want XML to do for you. I have set up Xerces quite a few times on the iSeries and in VA/Java and should be able to help you; just post another message with the specifics. David Morris >>> rizwan@nscsa.com.sa 09/08/01 11:00PM >>> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Phil Can I get the examples (for java parser)? Or Web sites?. Thanks Rizwan -----Original Message----- From: Phil [mailto:sublime78ska@yahoo.com] Sent: Saturday, September 08, 2001 8:06 PM To: midrange-l@midrange.com Subject: RE: XML parser Rizwan, I'm using VAJ 3.5 but the parser I used in the example is the IBM XML Parser for Java 2.0.15. The database I'm accessing is DB2/400 and I don't think the extenders are available for it. Maybe some day in a PTF? :) Thanks for the link to developeriq. I'm going to go through the tutorials. Phil > -----Original Message----- > From: midrange-l-admin@midrange.com > [mailto:midrange-l-admin@midrange.com]On Behalf Of Rizwan Ahmed > Sent: Saturday, September 08, 2001 2:37 AM > To: midrange-l@midrange.com > Subject: RE: XML parser > > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > -- > [ Picked text/plain from multipart/alternative ] > Hi Phil > > I was able to get the XML4RPG to work. > > For Java do you use VAJAVA ?B'coz I am having nightmares (ver > 3.5) importing > Xerces.jar anyway I am going to use version 4 which I hope would > avoid those > problems > > Basically to understand XML parsers in general I learned from Microsoft > parsers which looked easy for me.You could have a look at > www.developeriq.com > and links to XML tutorials.It's simple. > > That's the way they say having MAPADDRESS defined.Anyway did you try XML > Extender which comes with DB2 7.1.I think it takes care of the > parsing and I > am going to try it and it's available for free download. > > Regards > Rizwan
As an Amazon Associate we earn from qualifying purchases.
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.