Subject: RE: [xsl] how to set the bgcolor of a table cell to the value of an XML attribute From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx> Date: Fri, 18 Jul 2003 13:39:10 +0100 |
> > <Equities-List> > > <Equity name="CP"> > > <EquityNode date="2000-01-03" close="9.6"> > > <Color hex="246f15"> > > </EquityNode> > > <EquityNode date="2000-01-04" close="9.7"> > > <Color hex="227017"> > > </EquityNode> > > <EquityNode date="2000-01-05" close="9.9"> > > <Color hex="1f731a"> > > </EquityNode> > > </Equity> > > </Equities-List> > > > and here's my XSLT file.... > > > > <xsl:template match="/"> > > <html> > > <body> > > <table> > > <xsl:for-each select="//Equity"> > > <tr> > > <td> > > untested, > of course I meant <td bgcolor="#{EquityNode/Color/@hex}"> now the E letter is no where near the Y on my keyboard...... jim XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] how to set the bgcolor of, Jim Fuller | Thread | Re: [xsl] how to set the bgcolor of, David Carlisle |
RE: [xsl] how to set the bgcolor of, Jim Fuller | Date | Re: [xsl] how to set the bgcolor of, David Carlisle |
Month |