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



What I was suggesting is leaving any and all hard-coding outside of this generic program so it could play the part of parsing all XML documents it comes in contact with so no other programs on the system would have to perform any XML parsing. I have written such a program for RPG-XML Suite (www.rpg-xml.com) but that obviously doesn't help this situation if you don't have that software package, though it wouldn't be that hard to recreate with IBM's parser as they give you all the necessary parsing events to accomplish the task.

I had to head over to wikipedia to learn about what a finite-state-machine was :-) And I still don't completely follow you, but that is fine as long as we can come to conclusions on the details (maybe if I have some more coffee I will catch on :-).

Aaron Bartell
http://mowyourlawn.com

sjl wrote:
I wrote:
That sounds rather like a state machine...

then Aaron wrote:
Maybe you could expound on your comment
as I am not sure what you are getting at.


Aaron -

I was a little confused on what you wrote.

I was thinking along the line of instead of having the XML tag names hard-coded in the program to storing them in a database file and let the program process thru the tag names stored in the database file for parsing the XML document, which I believe makes it similar to a finite-state-machine.

Does that make sense?

- sjl





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.