|
|
#1 | |
|
Mahna Mahna
Join Date: Jul 2006
Location: Madison, Wi
Posts: 6,123
|
This is I'm sure simple but I'm really strapped for time and need help.
My xml document passes validation, My DTD is fine and I have it displaying fine using a cascading style sheet, except one thing, I have an element named BackOrderedAmount that needs to display a zero with a color of navy except when it has the attribute.... then it needs to be red... anyone help with this please? And yes I HAVE to use a css, I can't use xsl for this exercise. "<!ELEMENT BackOrderedAmount (#PCDATA)> <!ATTLIST BackOrderedAmount date CDATA #IMPLIED> "
__________________
|
|
|
|
|
|
|
#2 | |
|
Mahna Mahna
Join Date: Jul 2006
Location: Madison, Wi
Posts: 6,123
|
NM... duh!
I was using () instead of [] in the css sheet for the attribute. I knew it was something stupid and easy.
__________________
|
|
|
|
|
|
|
#3 |
|
*BANNED*
Join Date: Sep 2006
Posts: 427
|
Are you in the UW-Madison CS program? I also go to UW, but not at Madison
|
|
|
|
![]() |
| Thread Tools | |
|
|