Hello,

Is it possible to include html entities in a kid template without
using the XML(...) function?  I'd like to do the following:

-----
<html xmlns:py="http://purl.org/kid/ns#";>
  <head>
  </head>
  <body>
  <?python
      from elementtree import ElementTree as ET
      elem = ET.Element("span")
      elem.text = '&nbsp;'
  ?>
  <p py:content="elem"/>
  </body>
</html>
----

This, however, renders to  "&amp;nbsp;".  This may be an elementtree
problem, but I thought some folks here might have run into this
problem.

--
Thanks,
Sean Dawson


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
kid-template-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to