XML/CSS question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Simple but I can't figure it out. I'm trying to colorize an XML file.
The format being like this:

<entry foreground="1">

I just can't figure out how to make the CSS file differentiate between
"entry" tags that have different "foreground" attributes. For example I
want all entry tags with foreground of 1 to be displayed in black, all
with value of 2 in red, etc.

Any suggestions? I'm producing the XML file so I guess I could reformat
the structure of my file if there is a better way too.

Re: XML/CSS question

Kourosh wrote:

Quoted text here. Click to load it


David Dorward       <http://blog.dorward.me.uk/ <http://dorward.me.uk/
                     Home is where the ~/.bashrc is

Site Timeline