# Tree showRoot

**URL:** <https://forum.kirupa.com/t/tree-showroot/200640>\
**Category:** flash\
**Created:** [September 13, 2006, 9:41pm UTC](https://forum.kirupa.com/t/tree-showroot/200640 "2006-09-13T21:41:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isvaljek](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/isvaljek/32/2364_2.png) [@isvaljek](https://forum.kirupa.com/u/isvaljek)\
**Post date:** [September 13, 2006, 9:41pm UTC](https://forum.kirupa.com/t/tree-showroot/200640/1 "2006-09-13T21:41:25Z")

</div>

Is there a showRoot equivalent to flex tree control’s attribute. I’m trying to hide the main root of an xml doc and display the rest.

\<main\_node\>  
\<node\>  
\<node /\>  
\</node\>  
\<node\>  
\<node/\>  
\<node/\>  
\<node/\>  
\</node\>  
\</main\_node\>

…so there would be two root nodes each containing a couple of subnodes.
