Customizing the StylesheetsYou can customize the stylesheets for your particular website by making a driver like this: <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:import href="/path/to/the/website.xsl"/> <!-- put your customizations here --> </xsl:stylesheet> If you use the tabular style, you'll discover that the Website home page has two ugly features: "home.navhead" and "home.navhead.upperright". In order to remove these, you have to write a custom stylesheet that puts the text (or whatever) you want on the homepage in those locations. Your stylesheet should look like this: <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:import href="/path/to/the/tabular.xsl"/> <!-- Replace the text in these templates with whatever you want --> <!-- to appear in the respective location on the home page. --> <xsl:template name="home.navhead"> <xsl:text>home.navhead</xsl:text> </xsl:template> <xsl:template name="home.navhead.upperright"> <xsl:text>home.navhead.upperright</xsl:text> </xsl:template> <!-- put your customizations here --> </xsl:stylesheet> |
|