HTML DOM parser?

Syver Enstad syver-en+usenet at online.no
Fri Jul 19 21:36:04 EDT 2002


Peter Hansen <peter at engcorp.com> writes:

> "Daniel E. Burrow" wrote:
> > 
> > My present task requires the automation of IE. After much prayer, I
> > found that the "dom = ie.Document" assignment IS case sensitive. The
> 
> > lower case form of "ie.document" just would not work for my
> > ActiveState ActivePython 2.2.1 distribution.
> 
> That's odd.  I have never had to worry about case in almost any
> aspect of IE automation, especially this one.
> 
> Does anyone with greater knowledge of the guts of this stuff
> have any input on why Daniel would have to worry about case
> while I do not?

My guess: He has been running makepy on the MSHTML library, you
haven't. Many COM components doesn't care about casing (to please VB
users), the makepy generated wrappers obviously care (as Python is
case-sensitive with respect to identifiers)

-- 

Vennlig hilsen 

Syver Enstad



More information about the Python-list mailing list