The general process for creating the navigation:
- build a sample XML file
- use xmlspy to generate prototype DTD
- massage the DTD to reflect the navigation data
- populate the navigation with Merlot-1.0.1 (java based gui xml editor)
- create test xsl file for viewing the navigation.xml file in MSIE5 (you may need to remove the call to the DTD inserted by Merlot)
- verify that the page renders when using MSXML on the server side (boilerplate)
- review the XML Parser for tips regarding tags and attributes (a node)
- create script for determining:
- the name of the script currently being called
- the role of script in the site (primary/secondary/tertiary/quaterary/NA)
- the types of navigation based on status of the item being displayed: active; child active; not active (perhaps also not display?)
- cleanup then optimize the script.
posted by j 2/26/2001 11:58:00 AM
$footerhtml = "/home/jaw/jwalsh.net/includes/themes/" . $theme . "/footer.php";
if ( file_exists($footerhtml) ) {
include($footerhtml);
} else {
printf("Error: No theme specified");
}
?>