Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for parse xhtml in python 2.6

Current License: CC BY-SA 2.5

Post Revisions

5 events
when toggle format what by license comment
Mar 22, 2012 at 19:55 vote accept Alex
Mar 2, 2010 at 23:15 comment added Alex By 'choking' I mean that when I try to parse my xhtml file like this: html = myElementTree.parse(myXHTMLFile) The application throws the following exception: undefined entity  : line 16, column 164 I've run into this before in other languages. The   is a valid character in html, but not in xml, as you suggest.
Feb 26, 2010 at 0:56 comment added bobince What is ‘choking’? Is the document not well-formed XML? Is it using the HTML-specific entities that a non-DTD-reading parser will fail to resolve?
Feb 26, 2010 at 0:01 answer added user257111 timeline score: 3
Feb 25, 2010 at 23:56 history asked Alex CC BY-SA 2.5

AltStyle によって変換されたページ (->オリジナル) /