Aaron DeVore wrote:
> I wrote about this a while ago and didn't get an answer, so I'll give
> it another go.
> 
> I'm working on an XML/HTML tree library that only has a tree and
> serializer, with parsing done by html5lib. To use html5lib for parsing
> I need to write a custom treebuilder. What is the best way to go about
> that? I can directly use html5lib.treebuilders._base but that looks
> risky in terms of forward compatibility.

As far as I can tell, you should go about implementing the treebuilder
like any of the Python treebuilders are implemented. Which means using
_base. html5lib is still young, so in my opinion any forwards
compatibility is illusory.

Cheers,
Edward

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to