Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Reproduce Folderlist into xml Document with c#

Posted on 2011-03-16
3
Medium Priority
?
417 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

782 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