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



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


 -----Original Message-----
From:   Phil [mailto:sublime78ska@yahoo.com]
Sent:   Thursday, September 06, 2001 6:03 AM
To:     midrange-l@midrange.com
Subject:        XML parser

All,

I went through IBM's XML parser examples at
http://www.as400.ibm.com/developer/java/xml/documents/xml_rpg.html (RPG
version) and http://www.as400.ibm.com/developer/java/xml/db_xml.html (java
version) and by combining them I was able to get the java example working.

Their example requires you to have a file (MAPADDRESS in their example) with
the xml parentage defined and the column number in the target file
(ADDRESSBK).  Is that the right way to handle parsing XML?  Not only are you
maintaining a DTD, but you're maintaining a database file containing similar
info.

I'm interested to hear if anyone has done any xml parsing, and what your
thoughts are.  I will be starting a project soon where I may have a choice
between parsing a delimited flat file or an xml file.

Thanks for your input,

Phil






_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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