Case-insensitive XML Parsing

Steve Holden sholden at holdenweb.com
Mon Aug 5 08:20:57 EDT 2002


"C. R. Sandeep" <sandeep at octetsoft.com> wrote in message
news:e8dec818.0208050352.50520daf at posting.google.com...
> Hi,
>
>      I am using the xml.dom.minidom module to do some XML parsing. Is
> there any way I can set an option to do case-insensitive parsing? I
> have a lot of files with inconsistent tag names and I need to parse
> them in Python. I checked the Python Global Module Reference but
> couldn't find any relevant information. Also, I do not want to use
> xmllib at this time (which, I think, supports case-insensitive parsing
> - not sure of this though).
>
>      Thanks in advance,
>

In that case (no pun intended) it isn't XML you are parsing.

regards
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------








More information about the Python-list mailing list