9 May 17:15
Re: Getting info from an XML file that has invalid character data in it (and how to specify recover option)
From: Ben <bba <at> inbox.com>
Subject: Re: Getting info from an XML file that has invalid character data in it (and how to specify recover option)
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-05-09 15:15:31 GMT
Subject: Re: Getting info from an XML file that has invalid character data in it (and how to specify recover option)
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-05-09 15:15:31 GMT
> Stefan wrote: > > Not sure if this is just a "find-a-short-example" error, but you parse > the filename, not the file here. This should read > > Xml = etree.parse(XmlFileName, parser) (LOL) This is indeed a "find-a-short-example" error - which is what you use when you are a sysadmin. Now it works and gets me past the invalid characters too. Thanks for lxml
RSS Feed