On 29 mar, 09:09, "Thomas Broyer" wrote: > So maybe it's worth dropping the innerHTML argument from parse() > and adding a parseFragment(container, stream, encoding=None); > also adding a getFragment() to TreeBuilder to return either the > <html> element or a DocumentFragment (already exists in > xml.dom.minidom even if not documented; easy to add to > ElementTree, not talking about simpletree ;-) )
I've followed this path and it seems to just work. See patch and sample code in issue #18 http://code.google.com/p/html5lib/issues/detail?id=18 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "html5lib-discuss" group. To post to this group, send email to html5lib-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB -~----------~----~----~----~------~----~------~--~---
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4