Search Tools Links Login

Dir2XML


Visual Basic 6, or VB Classic

Dir2XML exports the directory structure, from a root folder of your choice on, in an XML file. I supplied a DTD to validate the XML, a XSL transform to render it in Internet Explorer, a CSS and some JavaScript to convert the whole into a nice DHTML application. This application is actually an extension of my Dir2HTML app and adds some nice features: dynamic HTML to collapse and expand on clicking folders, DHTML coloring on mouseover and a better lay-out in general. I think the XML should also be useful outside the browser now (you can use the MSXML to parse the nodes in VB for example) and is a nice example as well of how XML, XSL, CSS and JavaScript work together.

Original Author: unknown

Inputs

The directory of your choice

Assumptions

You need some good background in different languages (XML, JavaScript, XSL, CSS, VB) I think to understand how the various aspects of the application work. But it's rewarding, I think.

Returns

an XML file, renderable on screen via XSL

Side Effects


The XML export is only useful in IE I'm afraid. To use it for netscape you need to convert the XML via XSL on the server side. I do explain how in the ReadMe.txt file.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 121 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD170933152001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 11,565 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.