amara gets this result:
>>> from amara.bindery import html
>>> doc = html.parse("<html><head/><body><h1>Coca Cola</h1></body></html>")
>>> doc.xml_write()
<html><head/><body><h1>Coca Cola</h1></body></html>
>>> doc.html.body.h1.xml_children
(<text at 0x8ff80ac: u'Coca'>,
<text at 0x8ff8c6c: u'\xa0'>,
<text at 0x8ff8f6c: u'Cola'>)
>>> len(doc.html.body.h1.xml_children)
3
Is it ok? h1 should have three children?
Greetings,
-- luismiguel
--
You received this message because you are subscribed to the Google Groups "Akara Developers" group.
To post to this group, send email to akar...@googlegroups.com.
To unsubscribe from this group, send email to akara-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akara-dev?hl=en.