Nick Murtagh wrote:
>> Another thing I am missing is a html/xml library, i.e. a core support
>> for generating html and xml code with Python.
> 
> There is ElementTree which is going to be in Python 2.5:
> 
>      http://effbot.org/zone/element-index.htm

Right, and ElementTree is extremely useful anyway. Using ElementTree's
Element type and the tostring function, I could do this:

self.write(tostring(Element("a", href="http://xyz";, text="abc")))

Still a bit clumsy, even if I wrap the two calls in one function. Maybe
it's easier with SimpleHTMLGen, and we are not dependent of ElementTree.

The main point is that we provide such a function as a core
functionality of Webware, probably as a servlet method.

-- Christoph

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to