Re: Another newbie question

Subject: Re: Another newbie question
From: Iain Huxley <iain@xxxxxxxxxxxxx>
Date: Tue, 14 Mar 2000 11:44:51 -0800
At 01:27 PM 3/14/00 -0500, you wrote:
>Then the question is - what DO I use to establish the background color of the
>page, etc?

You need to put it in a template:

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
  <html>
    <body bgcolor="Black" text="White" link="#CCCCCC" vlink="Red">
      <xsl:apply-templates/>
    </body>
  </html>    
</xsl:template>

<xsl:template match="title">
...
</xsl:template>



Check out:
 
  http://metalab.unc.edu/xml/books/bible/updates/14.html

It is a good beginner resource for XSL.

Iain.

//----------------------------------------------------
// Iain Huxley
// President
// Mindspike Technologies
// http://mindspike.com
// Ph: (510) 339 7789
//----------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread