|
Sorry I'm late getting to this thread. Alphaworks Summary; IBM's example code has 80 parsing API's in a row, with one [SHORT!] line of what it is doing. Since I was doing a simple XML project, I chose to accept standard in, parse it myself by looking for the tokens I needed, then calling a net.data macro to answer. Development was days, the macro formatted the XML, and internet exploder actually was a HUGE help in debugging my responses since it parses and formats the XML. I used GETURI from Brad Stone's bvstools.com website to post XML requests - I couldn't find an equivalent tool in the PC world - and was pleased as punch when it was over. GETURI can be used to make requests to web servers, and was a perfect test bed. My parsing routine was one I wrote for getting Cookies from my web programming - so making it look for 5 fields and giving me data associated within them was cool. The XML request is probably NEVER going to be a standard enough stream to go into a relational database request, so using the API's seemed a little overkill for the application I was doing, and frankly I'm not sure where I actually can use them. Net.Data formatted the output after sending the header of text/xml - which looks REALLY cool. Let me know if this helps! Andrew Borts / Webmaster Seta Corporation 6400 East Rogers Circle Boca Raton, FL 33499 E-mail: Andrewb@setacorporation.com Corporate web site http://www.setacorporation.com E-Commerce web site http://www.palmbeachjewelry.com http://www.myfreeitems.com Voice: 561-994-2660 Ext. 2211 / Fax: 561-997-0774 -----Original Message----- From: Bartell, Aaron L. (TC) [mailto:ALBartell@taylorcorp.com] Sent: Tuesday, November 20, 2001 9:49 AM To: 'rpg400-l@midrange.com' Subject: RE: cXML Thanks for the link. >AFAIK, there are two XML parsers that can be used on the AS400; Actually if you are using Java on the AS400 you can utilize any XML parser that you want. That is what is cool about the java community. They develop interfaces for complex packages to ease the use. I am currently trying out javax.xml.parsers.* which is not necessarily "supported" by IBM, but when using Java you don't have to wait for IBM to do their thing so you can use certain functionalities. Aaron Bartell -----Original Message----- From: DeLong, Eric [mailto:EDeLong@Sallybeauty.com] Sent: Tuesday, November 20, 2001 8:29 AM To: 'rpg400-l@midrange.com' Subject: RE: cXML Aaron, I too had not heard of this, so I found the following link. http://www.cxml.org/prnews/faq.cfm Looks like nothing more than a DTD spec for a common b2b standard that is being developed. I think this should be usable on the AS400, though I've done nothing with XML. AFAIK, there are two XML parsers that can be used on the AS400; IBM's XML for C++ v3.5.1 (Xerces C++ parser v1.5.0) which *can* be used in RPGIV and ILE Cobol, and the XML parser for Java v3.2.1 (Xerces-J v1.4.2) Information about IBM's XML offerings can be had at: http://www.alphaworks.ibm.com/xml Eric DeLong Sally Beauty Company MIS-Sr. Programmer/Analyst 940-898-7863 or ext. 1863 -----Original Message----- From: Bartell, Aaron L. (TC) [mailto:ALBartell@taylorcorp.com] Sent: Tuesday, November 20, 2001 7:58 AM To: 'rpg400-l@midrange.com' Subject: RE: cXML What is the difference between cXML and XML? I haven't even heard of cXML yet. Aaron Bartell -----Original Message----- From: Rizo, Alex L. (RPW) [mailto:ALRizo@reliefprinting.com] Sent: Monday, November 19, 2001 5:52 PM To: rpg400-l@midrange.com Subject: cXML is their a utility on the AS400 that will read/covert/interpret cXML to either a physical File or DDS _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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 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.