[Zope] Tracking a DTML tree branch

J C Lawrence claw@kanga.nu
Sun, 23 Jan 2000 21:39:12 -0800


Given a DTML tree, and a particular branch of that tree having been
selected (leaf or mid-way), is there a way to determine the "path"
from the root to the point selected?

ie Given the tree:

   +-+--A
     |  |
     |  +--E
     |  |
     |  +--F
     |  |  |
     |  |  +--H
     |  |  |  |
     |  |  |  +--J
     |  |  |
     |  |  +--I
     |  |
     |  +--G
     |
     +--B

And the user clicks on "H".  Is there a way to determine that the
path to "H" is /A/F/H?    

-- 
J C Lawrence                                 Home: claw@kanga.nu
----------(*)                              Other: coder@kanga.nu
--=| A man is as sane as he is dangerous to his environment |=--