Solved

Reproduce Folderlist into xml Document with c#

Posted on 2011-03-16
3
360 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
  • 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now