Solved

Reproduce Folderlist into xml Document with c#

Posted on 2011-03-16
3
406 Views
Last Modified: 2012-06-27
I would like to reproduce a folder list of directories, sub directories (or directory tree) and files as an xml document with nodes, sub-nodes etc.

My knowledge of XML is weak at best.

How would I go about this?
0
Comment
Question by:dbdp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 35146300
A complete example with files and all. (you just can comment out the file part if you don't need the files)

XML Directory Tree Generator
http://www.codeproject.com/KB/files/xmldirectorytreegen.aspx
0
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 35146305
Another example
C# XML Directory Lister
http://www.codeproject.com/KB/cs/xmldirectorylister.aspx

It's all just depending of what you want to see, what you want to store, ...
0
 

Expert Comment

by:satishmp
ID: 35146566
HI,

Check this link

http://www.15seconds.com/issue/010921.htm

Regards
Satish
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question