[Zope] how to get title property from python?

Chris Withers chrisw@nipltd.com
Thu, 20 Mar 2003 10:23:52 +0000


Jaroslav Lukesh wrote:
> No, I dont mean DTML document/TAL, I mean in python scripts from
> lib/python/Structuredtext:
> 
> output('<a href="%s/sys_show_fullimage"><img src="%s.thumb.jpg" alt="%s"
> align="%s"></a>\n' % (doc.href, doc.href, doc.href, doc.align))
> 
> So ALT is not from doc.getNodeValue() like in STX, but from image property
> Title.

What is 'doc'?

Would doc.title work?

cheers,

Chris