# How to close folders in senoculars xml tree

**URL:** <https://forum.kirupa.com/t/how-to-close-folders-in-senoculars-xml-tree/255160>\
**Category:** Uncategorized\
**Created:** [March 19, 2008, 5:33pm UTC](https://forum.kirupa.com/t/how-to-close-folders-in-senoculars-xml-tree/255160 "2008-03-19T17:33:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjurygg](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@sjurygg](https://forum.kirupa.com/u/sjurygg)\
**Post date:** [March 19, 2008, 5:33pm UTC](https://forum.kirupa.com/t/how-to-close-folders-in-senoculars-xml-tree/255160/1 "2008-03-19T17:33:51Z")

</div>

Hi,  
I am trying to use senocular’s exellent xml based tree view code( [http://www.kirupa.com/web/xml/exampl…4ASclasses.htm](http://www.kirupa.com/forum/../web/xml/examples/mx04ASclasses.htm) )for one of my projects. What I would like to implement it the way senocular is proposing in his note “Class listing lag[COLOR=Black][SIZE=2][FONT=Verdana]” so that the folder will be unfolded from the beginning. I have no problems to load the icons when folded[COLOR=Black][SIZE=1][SIZE=2], but how making the folders unfolded from the beginning? I have been pulling my hair for several days now, but the double recursion make it very hard for me. Have anybody been doing this or know how to succeed?

/Frank[/SIZE][/SIZE][/COLOR][/FONT][/SIZE][/COLOR]
