Categories
IT and Networking Scripts

Script to Write an XML Document

Source Code on GitHub 

A script to write a nested XML file based on file names and properties of a hierarchical directory tree. Uses WIA to read jpeg EXIF data, and then writes those properties to a file, keeping track of the XML tags and indentation level. This is a simple script, and the tags are hard coded into the vbscript, but I built the script with some generic functions and the idea that it could be extended. The purpose of this script is to build an XML document to describe an album of geotagged pictures for a map.