0 Replies Latest reply on Apr 2, 2012 12:02 AM by nareah

    Tree Structure

    nareah Level 1

      Hi guys,

      I'm using tree controls to display the file path.I'm using xmllistcollection as a data provider.My XML structure is

       

      <root label="Deploy" description="This is the root folder">
        <folder label="bin" src="assets/folder.jpg" FileCount="4" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM">
           <file label="NIS.DataLayer" src="assets/file.jpg" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM" icon="dll" bytesSize="43520"/>
           <folder label="bin" src="assets/folder.jpg" FileCount="4" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM">
             <file label="NIS.DataLayer" src="assets/file.jpg" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM" icon="pdb" bytesSize="124416"/>
          </folder>
          <folder label="bin" src="assets/folder.jpg" FileCount="4" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM">
             <file label="NIS.DataLayer" src="assets/file.jpg" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM" icon="pdb" bytesSize="124416"/>
             <file label="NIS.DataLayer" src="assets/file.jpg" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM" icon="pdb" bytesSize="124416"/>
             <file label="NIS.DataLayer" src="assets/file.jpg" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM" icon="pdb" bytesSize="124416"/>
          </folder>
          <folder label="bin" src="assets/folder.jpg" FileCount="4" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM">
             <file label="NIS.DataLayer" src="assets/file.jpg" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM" icon="pdb" bytesSize="124416"/>
          </folder>
          <file label="NIS.IPOD" src="assets/file.jpg" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM" icon="dll" bytesSize="14848"/>
          <file label="NIS.IPOD" src="assets/file.jpg" created="3/23/2012 6:28:18 PM" updated="3/23/2012 6:28:18 PM" icon="pdb" bytesSize="17920"/>
        </folder>
        <file label="Service1" src="assets/file.jpg" created="3/23/2012 5:16:04 PM" updated="3/23/2012 6:28:18 PM" icon="svc" bytesSize="105"/>
        <file label="Web" src="assets/file.jpg" created="3/23/2012 5:16:04 PM" updated="3/23/2012 6:28:18 PM" icon="config" bytesSize="2150"/>
      </root>

       

       

      In my tree structure i should not get the file node from xml..How to delete the particular node from xml...