John Cornelison active-code.com
   Consulting   |    Projects   |    Technologies   |    Site Map   |    Contact Us   

TechNote

This page briefly describes how an XML-based site map is auto generated.

First, an ASP script is run manually on a periodic basis by an administrator. It uses the FileSystem object to list all folders and files to an XML file. The resulting file contains all the folder and site specific data and is what is returned by the server to the user's browser.

This XML file references an XSL file that selects various nodes of the XML file and transforms them, adding HTML styling rules to the page, resulting in an HTML page that the browser then displays. The XML file also references an XML schema file that can ensure that the well-formed XML file is also valid.

XML requires the use of at least Internet Explorer 5.0 and possibly Netscape 6 - though this haven't been tested yet. Earlier versions of the browsers use whatever viewer the system has configured for displaying XML files - although most such users will not have installed such a viewer.

   Consulting   |    Projects   |    Technologies   |    Site Map   |    Contact Us   
TOP