Process the stylesheet (variable substitution etc)