I am using MSXML2.DomDocument in Visual basic 6.0 to create an xml file.I want the xml file not to expand at all level.i.e. I want to the xml file to expand only till a certain node and after that it should display as collapsed.
Please let me know if there is any function in VB that I can use to create a collapsed xml tree.

Thankyou in anticipation.

Regards
Tanya