0 Replies Latest reply on Dec 27, 2011 12:59 PM by toft

    tree reflecting folderstructure - how to extract full path from 'selectedItem'


      I`m making a photo gallery and use a tree component bound to an external xml. No problem making this work.

      However, I`m wondering if there is a way to use tree.selectedItem to find the actual node in the loaded xml and traverse

      upwards to extract the folderpath( 'galleries/travel/barcelona_2011/barcelona_2011_street_artists/') ?


      Sample xml below:


      <GALLERIES label="galleries">
              <TRAVEL label="travel">
                      <BARCELONA_2011 label="barcelona_2011">                                           
                                      <HREF label="barcelona_2011_street_artists"/>


      I would greatly appreciate help on this...