View Single Post
  #3 (permalink)  
Old Jul 7th, 2007, 15:30
ScottR ScottR is offline
Reputable Member
Join Date: Dec 2005
Location: U.S.A.
Posts: 147
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to ScottR Send a message via Skype™ to ScottR
Re: background color in xml

If I'm not mistaken you could use bgcolor as you have in your body tag. That attribute is usually deprecated but I think in XSLT it is acceptable. Say you wanted to change the background color of the title, I think you can do this...
Code: Select all
<tr><td bgcolor="red"><xsl:value-of select="TITLE" /></td>
Try it out and post back letting us know if it worked for you.
Scott
Reply With Quote