I have two major applications that parse very complex XML that comes 
from an HTTP call.  It was originally written in VFP7.  I recently 
overhauled it using Python and call it using the run command.  It runs 
seamlessly in my application.

One of the files is a tab delimited text file and the others are complex 
XML files with nested whatchamacallits.  For example, there is a group 
of tags that describe a configuration for the groups of tags that follow 
it.  There could be any number of "records" that follow the 
configuration.  The "records" can also contain a different number of 
tags depending on the record type.  It took a lot of work in VFP and was 
very slow.  Python does this remarkably fast and the amount of code is 
significantly less because the parser is infinitely configurable.

Python was fairly easy to learn because of the wealth of examples and 
help out there - especially Ed and Paul and others on the ProPython 
list.  Learning the parser was not bad at all and in my opinion Python 
has more similarities with VFP than anything I have seen or used.

Jeff

Jeff Johnson
[EMAIL PROTECTED]
SanDC, Inc.
623-582-0323
Fax 623-869-0675

Alan Bourke wrote:
> Kenneth Kixmoeller/fh wrote:
>> 3. Would I be better off doing it in something other than VFP9?
>>   
> Last time I was faced with some complex XML I used C#, VFP just could 
> not handle it. Python, Ruby, anything that is any way web-centric would 
> be able to handle it.
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to