jcrox
09-21-07, 05:57 PM
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> "
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> "