I have a table that is to be transformed to a tree:
<entry id="entry1" parentId="parentOfThisEntry" />
<entry id="entry2" parentId="parentOfThisEntry" />
<entry id="entry3" parentId="parentOfThisEntry" />
<entry id="entry4" parentId="parentOfThisEntry" />
The tree structure can be constructed by the id/parentId relation.
I failed to achieve this... :-(
I am using basex 6.5.