[Imps] HTML5 serializer for Kid

Jeff Cutsinger jeff at cutsinger.org
Mon Mar 26 06:09:44 PDT 2007


Thomas Broyer wrote:
> 2007/3/24, Henri Sivonen:
>> On Mar 24, 2007, at 02:13, Thomas Broyer wrote:
>>
>>> I thought it could interest some people here, so I'm writing this to
>>> announce that I have an HTML5 serializer for Kid
>>> <http://www.kid-templating.org>, using the "innerHTML in HTML
>>> documents" serialization algorithm.
>> Cool! This is excellent news.
>>
>> Can it also be used as an ElementTree to HTML5 serializer outside Kid?
> 
> I don't think so, it's really Kid-specific (derived from
> kid.serialization.Serializer, and input is a kid.parser.ElementStream,
> not an ElementTree).
> 
> But the serialization algorithm is so simple that it should be easy to
> add an ElementTree-dedicated HTML5 serializer (ElementTree.write() is
> only 50 lines, and it has to deal with namespaces)
> 

In light of
<http://tomayko.com/articles/2006/11/11/xml-templating-in-python-evolves>,
where does Genshi fit into your plans? I recently switched my current
project over.

Thanks,
Jeff Cutsinger

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jeff.vcf
Type: text/x-vcard
Size: 169 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/implementors-whatwg.org/attachments/20070326/e9805f95/attachment-0002.vcf>


More information about the Implementors mailing list