nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   Software Development (http://www.nvnews.net/vbulletin/forumdisplay.php?f=53)
-   -   XML Help (http://www.nvnews.net/vbulletin/showthread.php?t=98872)

jcrox 09-21-07 03:57 PM

XML Help
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> "

jcrox 09-22-07 03:37 PM

Re: XML Help
NM... duh!

I was using () instead of [] in the css sheet for the attribute. I knew it was something stupid and easy.

bugmeplz 09-22-07 06:41 PM

Re: XML Help
Are you in the UW-Madison CS program? I also go to UW, but not at Madison

All times are GMT -5. The time now is 07:14 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.