XML parser timeline and complexity

Bill Campbell bill at celestial.com
Sat Feb 11 10:27:44 PST 2006


On Sat, Feb 11, 2006, Fairlight wrote:
>Boy.  When I looked at doing a generic XML parser, I looked at a few ways
>of doing it.  Mostly, since I would be doing it from processing, I figured
>on "reproducing" the structure of a DTD, for instance, in a lookup table's
>records, and specifying a relation between tags (ie., parent names would be
>included, and there would be an attribute field YESNO, etc.).
...
>Okay, time for some Tylenol.  :)  My brain hurts.

It sounds like you're trying to reinvent expat, SAX and DOM for FilePro :-).

Tools like the python xmlrpc libraries hide all the XML from the
programmer, permitting very simple function calls.  The SAX and DOM
libraries make it reasonably easy to read/write XML documents, and there
are both verifying and non-verifying parsers that are fairly easy to use.

Writing external XML import/export routines that are calleable from FilePro
would seem a much more reasonable approach.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Everybody is ignorant, only on different subjects.''
    Will Rogers


More information about the Filepro-list mailing list