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




On 7-Jul-08, at 5:57 PM, rpg400-l-request@xxxxxxxxxxxx wrote:

The XML-INTO is pure DOM processing; you
tell it where in the document to get some data, and it pulls it out,
thank you very much.

Unless I completely mis-understand DOM Joe, XML-INTO is not a DOM parser. The only thing you can tell it to do (via the path=... option in the %XML BIF) is where to start in the document. But that is a long way from the DOM notion of random access. path=... will let me specify to skip a chunk at the beginning before (for example) the section detailing all the invoices - but it won't let me specify to start at invoice X which is how I think of DOM.

I do think that XML-INTO is a lot better than folks here have given it credit for - it is very "RPG-like" and works very well. It is not perfect by a long way - but for straightforward schemas it is wayyyyyyyy easier than any SAX approach.

I wrote a series of articles for MC Press on the topic the first one is here:

http://www.mcpressonline.com/operating-systems/i5/os/i5/os-offers-native-xml-support-in-v5r4.html

The second here:

http://www.mcpressonline.com/programming/rpg/handling-xml-into-problems.html

And the final one on XML-SAX here:

http://www.mcpressonline.com/programming/rpg/rpg-has-sax-appeal.html

Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



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.