<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hallo Dieter,<br>
<br>
again many thanks for helping.<br>
The&nbsp; thing with the tpId has exactly been the problem.<br>
Adding an attribute "tpId" to the class "TestBranch" with the same
content as id<br>
everything works fine.<br>
<br>
Thank you,<br>
Ulla.<br>
<br>
Dieter Maurer wrote:<br>
<blockquote type="cite"
 cite="mid16943.15546.8365.749054@gargle.gargle.HOWL">
  <pre wrap="">Ulla Theiss wrote at 2005-3-8 22:06 +0100:
  </pre>
  <blockquote type="cite">
    <pre wrap="">...
I've tested the whole day along the ids and the behaviour is still the same.
They are different. &lt;dtml-var id&gt; proofs.
In the html-sourcecode I've seen 2 things:
1st:  The Name of the Anchor is the same for each branch
2nd: The Href for all branches of one layer is exactly the same, but 
different from the other layers.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Maybe, you should switch from "dtml-tree" to a ZPT based
solution?

I often read recommendations for the "ZopeTree" product.
I use the facilities provides by "ZTUtils" (and you can
find an example use in the PageTemplates examples).


But, when you want to stick with the complex "dtml-tree".

     Looking at the code in "TreeDisplay.TreeTag.Tree.__init__",
     I see that the default for id determination
     is the method "tpId".

     Apparently, "tpId" (or whatever you use as "id" attribute
     for "dtml-tree") return the same value for all siblings.

  </pre>
</blockquote>
</body>
</html>