Updates:
Status: WontFix
Comment #1 on issue 105 by [email protected]: Navigate , search and
modify the tree
http://code.google.com/p/html5lib/issues/detail?id=105
The default "simpletree" treebuilder is very basic and doesn't have support
for
things like searching the tree. However the idea is that people use
existing tree
implementations such as minidom, ElementTree or lxml. So for example one
can do:
tree = html5lib.parse(input, treebuilder="lxml")
The resulting tree will be a lxml tree with all the usual functionality
such as xpath.
We have no plans to spend time turning simpletree into a
feature-competitive tree
implementation (although I note that modification of nodes is already
possible simply
by changing the relevant attributes).
If I hve misunderstood our request please explain further and reopen the
bug.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"html5lib-discuss" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---