That is a problem with the underlying library, sgmllib. It
automatically lower cases all tags, even with xml. Instead, switch to
Beautiful Soup 4 with lxml as the parser. That will look like:
import bs4
soup = bs4.BeautifulSoup(markup, "xml")
-Aaron DeVore
On Fri, Aug 10, 2012 at 3:00 AM, revelc33 <
martinm...@gmail.com> wrote:
> Hi everybody!
> I have a problem with BeautifulSoup.BeautifulSoup(xmlstring) changes the
> tags of the xml string into lower case. I need to avoid this!!! Any idea ?
>
> Thanks & Best Regards
>
> Revelc