Solved

Reproduce Folderlist into xml Document with c#

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 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