Many thanks Dieter, works a treat.
I'm working through the python tutorial now.
-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]
Sent: 04 August 2005 18:58
To: [EMAIL PROTECTED]
Cc: zope@zope.org
Subject: Re: [Fwd: Re: [Zope] test for the existence of a nodeValue]
Jon
Thanks Dieter,
But I still cant get it to work. I've changed my get_attributes.py script
to this:
if not attobject:
return ''
version = attobject.get_viewable()
nodes = version.content.documentElement.getElementsByTagName(attname) if
not nodes:
return ''
nodeValue =
Jon Bowlas wrote at 2005-8-4 10:31 +0100:
...
But I still cant get it to work. I've changed my get_attributes.py script
to this:
if not attobject:
return ''
version = attobject.get_viewable()
nodes = version.content.documentElement.getElementsByTagName(attname) if
not nodes:
return ''