Errr... untested.. but should work. <dtml-let a="_.len(PARENTS)"> ... </dtml-let> > -----Original Message----- > From: Frédéric QUIN [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 24, 2000 12:38 PM > To: [EMAIL PROTECTED] > Subject: [Zope] How to know the number of parents of an element ??? > > > Hi all, > > > Is there any function or method to get the number of parents > of an element ? > > > Thanks for your help, > Frederic > > > _______________________________________________ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > _______________________________________________ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )