[Zope] Parsed XML Problem (we may need the best minds to solve this one :-)

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Tue, 25 Sep 2001 17:57:55 +0400


On Tue, Sep 25, 2001 at 11:43:12PM +1000, Andrew Kenneth Milton wrote:
> He's not calling a DTML Object, he's calling an external method.
> Perhaps before being so terse, you should read the whole question,
> the relevant part of which is ironically still in the reply.

   Sorry.

> | <dtml-var "db2onehtml(_.None, _, test_xml=_.getitem('test.xml', 1))">
> 
> Actually he's calling .id() on the ParsedXML Object, and id is a string
> (but a function on File Objects, which is why it works on those)
> 
> I've told him to use .getId(). He has other problems now, for which he
> will have to read some doco.

   So anyway I was right :(

Oleg.
---- 
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.