If this piece of code sets the bgcolor to the value of @StatusColor,
<xsl:attribute name="bgcolor">
<xsl:value-of select="@StatusColor" />
</xsl:attribute>
why doesn't replacing 'bgcolor' with 'color' or 'forecolor' set the forecolor to the value of @StatusColor?
Sorry, the code snippet wasn't meant to include the <% %> within it. Here is the bit of code I am working with :
response.write "<tr>" &_
"<td bgcolor=eeeeee><a href=""company.asp?company=rs("companyKey")" & "orderby=name"">"&naym&"</a></td>
I need to put the following code within a <% %> block :
<td bgcolor=eeeeee><a href='company.asp?company=<%=rs("companyKey")%>&orderby=name'><%=naym%></a></td>
How do I escape the characters " etc?
Thanks,
Mike
If you are reading a field from a database in a loop and then adding the value in the field to a variable, how do you test that the value is not null before adding it?
Thanks,
Mike
I am looking for an XSLT book that covers XSLT, XPath etc, and also covers using .NET/C# along with them. Can anybody recommend a suitable book?
Thanks,
Mike
I'm using tables for layout...I know I should eventually learn how to do the layout in CSS, but at the moment I have too many other new things to learn...
Thanks,
Mike
This doesn't seem a very useful step forward for HTML, if this is how you are now supposed to set td width...it's not something you would want to put in a css file because you could have many td's all with different widths on just one page. Why is it necessary to use style="width:100px;" instead...
I've just started to use VS 2005 and am trying to make an old project XHTML compliant. What is the replacement for the attributes bgcolor and width, and the element font? Are they meant to be replaced by CSS?
Thanks,
Mike
How do you do something like this animation?
http://www.animationfactory.com/sales/video_tech_loops.html
Any ideas would be really appreciated.
Cheers,
Mike
If I have a field with different string values and I want to return data ordered depending upon the value of that string, how would I do that?
E.g. I have 3 possible string values for the field called 'ME', 'NY' and 'SC' and I want to order the results first by 'NY', then by 'SC' and then 'ME'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.