Skip to main content

Convert Pathname to XML tree

No replies
rohitsaini_tech
Offline
Joined: 2010-10-10
Points: 0

Hello friends, I am new to XML,so i need you to share your tremendous knowledge with me.
My question is "How to convert pathnames to XML tree form."
Suppose, if input is
c:/prog/file1.txt
c:/prog/file2.txt

then tree should be like this
c
prog
file1.txt file2.txt

Plz help me friends...Thanks in advance..