title: jsTree : How to get all nodes from jstree?
body: <p>How to get all nodes present in jsTree?</p>
  
  <p>I am building jsTree with  xml</p>
  
  <pre><code>Root
       -----A
            -----A1
                 -----A1.1
                 -----A1.2
            -----A2
                 -----`A2.1`
                 -----A2.2
  
       -----B
            -----B1
            -----B2
  
       -----C
            -----C1
                 -----C1.1
                 -----C2.2
  </code></pre>
  
  <p>I want array of all nodes(ID) present in jsTree is as follows</p>
  
  <p><strong>Expected output: [Root, A, A1, A1.1, A1.2, A2, A2.1, A2.2, B, B1, B2, C, C1, C1.1, C2.2]</strong></p>