# Simple makefile to validate XML files and to generate HTML using SAXON. This # makefile requires you to hardcode the names of the XML/XSL/HTML files # directly in the rules listed below. This process can be tedious if you have # many XML files. JAVA = java JAVAFLAGS = -cp "/u/csc309h/lib:/u/csc309h/lib/saxon.jar:/u/csc309h/lib/xerces.jar" processxml: $(JAVA) $(JAVAFLAGS) com.icl.saxon.StyleSheet items.xml base.xsl > base.html $(JAVA) $(JAVAFLAGS) com.icl.saxon.StyleSheet items.xml extension.xsl >extension.html $(JAVA) $(JAVAFLAGS) com.icl.saxon.StyleSheet items.xml side.xsl >side.html $(JAVA) $(JAVAFLAGS) com.icl.saxon.StyleSheet items.xml back.xsl >back.html $(JAVA) $(JAVAFLAGS) com.icl.saxon.StyleSheet items.xml door.xsl >door.html $(JAVA) $(JAVAFLAGS) com.icl.saxon.StyleSheet items.xml others.xsl >others.html .PHONY: validatexml validatexml: $(JAVA) $(JAVAFLAGS) Validator -v items.xml .PHONY: clean clean: /bin/rm -f modules.html /bin/rm -f base.html /bin/rm -f extension.html /bin/rm -f side.html /bin/rm -f back.html /bin/rm -f door.html /bin/rm -f others.html Modular_Base

BASE UNIT


NAME:

    DIMENSION:
    HEIGHT:
    AVAILABILITY:
    EXPECTED_SHIPPING_TIME:
    FINISH_OPTION:
Module_Extension

EXTENSION UNIT


NAME:

    DIMENSION:
    HEIGHT:
    AVAILABILITY:
    EXPECTED_SHIPPING_TIME:
    FINISH_OPTION:
Module_Door

DOOR UNIT


NOTE:

NAME:

    DIMENSION:
    HEIGHT:
    AVAILABILITY:
    EXPECTED_SHIPPING_TIME:
    FINISH_OPTION:
Module_Side

SIDE UNIT


NAME:

    DIMENSION:
    HEIGHT:
    AVAILABILITY:
    EXPECTED_SHIPPING_TIME:
    FINISH_OPTION:
Module_Others

OTHER UNITS


      DIMENSION:
      HEIGHT:
      AVAILABILITY:
      EXPECTED_SHIPPING_TIME:
      FINISH_OPTION:

      NOTE:

/* modules.css used for formating html files * changing color or font style or font size */

body {background-image:url("bg.jpg")}

p.catagory {font-style: italic; font-size:250%; color: blue}

H1 {color: red}

H2{color: darkblue}

p.note {color:darkred}

p.others {color:darkred; font-size:250%; font-style: italic}

/* define the hyperlink color */

a {color:#006699;}

a:link, a:visited, a:active{text-decoration:underline}

p{color:darkblue} ol{font-style:italic}

/* make the underline part colorful */

u{color:#CC0033}

Base Unit 20 10*20*30 20 immediately 3 days Base Unit 30 10*20*30 30 immediately 3 days Base Unit 40 10*20*40 40 immediately 3 days Twin Base Unit 20 10*20*30 20 immediately 3 days Twin Base Unit 30 10*20*30 20 immediately 3 days Twin Base Unit 40 10*20*40 40 immediately 3 days Extension 20 10*20*20 20 immediately 3 days Extension 30 10*20*30 30 immediately 3 days Extension 40 10*20*40 40 immediately 3 days Twin Extension Unit 20 10*20*20 20 immediately 3 days Twin Extension Unit 30 10*20*30 30 immediately 3 days Twin Extension Unit 40 10*20*40 40 immediately 3 days Peninsula 10*20*30 20 immediately 3 days Bridge 1*20*3 2 immediately 3 days Side 20 10*20*20 20 immediately 3 days Side 30 10*20*30 30 immediately 3 days Side 40 10*20*40 40 immediately 3 days Door 20 10*20*20 20 immediately 3 days smoked glass with a trim and not available in walnut trim Door 30 10*20*30 30 immediately 3 days smoked glass with a trim and not available in walnut trim Door 40 10*20*40 40 immediately 3 days smoked glass with a trim and not available in walnut trim Back 20 10*20*20 20 immediately 3 days Only in black Back 30 10*20*30 30 immediately 3 days Only in black Back 40 10*20*40 40 immediately 3 days Only in black Drawer 10*20*20 5 immediately 3 days only come in cherry and maple