Hello,

I guess this problem already has been addressed a few dozen times already
but I couldn't find a specific enough answer in the archives and after all
openSource is fast to develop so I will state my question anyway ...

I want to store a tree like structure in Xindice say

menu
....menu
.....menu
........menu

my solution would now have been to split this single file (which becomes
quite large) into single "property" documents in menu collections like
/db/mymenus/menuID1/menuID7/... or something like that ..

however I still would need to query all that in xPath as an single document
like //[EMAIL PROTECTED]'blah']

A few tests and a brief look in the archives are somewhat discuraging but
maybe I missed something (I hope so cause like the project desciption states
"free directory/tree structures are the strength of XML"  ... )
If not maybe somebody has already a good concept to "simulate" this and
still keep adequate performances for lookups?


<menu>
    <props>
    ...
   </props>
   <menu>
      <props>
      ...
      </props>
      <menu>
         <props>
         ...
         </props>
      </menu>
      <menu>
         <props>
         ...
         </props>
      </menu>
   </menu>
</menu>


./regards

Florian



Reply via email to