How to list all files within a directory using XML?
How to list all files within a directory using XML?
I want to display all the file in /var/www/myfile folder using XML let's say listfile.xml that contain code. so when a user visit localhost/listfile.xml he can see files in /var/www/myfile folder
something like this
$ links -width 512 -dump http://192.168.42.185/listfile.xml
Files in myfile Folder
file1
file2
XML file is in /var/www folder and i want to see list of all the files in the folder on my webpage
– tauheed khan
Aug 26 at 5:24
Your question, as it stands, is far too broad. You need to pick a programming language, decide if you want to generate this file on demand or at build time, and make an effort at writing this. Stackoverflow is good for solving specific problems, but you've provided something more akin to a first draft of a requirements spec for a whole project.
– Quentin
Aug 26 at 6:38
i did mentioned XML.
– tauheed khan
Aug 26 at 7:12
XML is a data format, not a programming language.
– kjhughes
Aug 26 at 15:23
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Please read How to Ask then edit your question and improve it. In its current state, it's going to be hard for anyone to understand how to answer.
– kjhughes
Aug 25 at 22:44