Jacques Distler wrote: > > The solution I hit on was to create a custom TreeWalker, which is > basically the same as the standard REXML TreeWalker, except that it > converts named entities in text nodes and attribute values, as it > goes. > > So, my question is: would this be of more general interest? Would it > be desirable to have a :convert_named_entities option (defaulting to > false) to the standard TreeWalker(s)?
Could it be a filter? If not, I would prefer it to be in TreeWalkers base if all possible, and not specific to any one particular DOM format. Otherwise, +1. - Sam Ruby --~--~---------~--~----~------------~-------~--~----~ 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