You are here: XML/CSS question « HTML « IT news, forums, messages
XML/CSS question

Posted by Kourosh on 05/09/06 03:39

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

....
<entry foreground="1">
<text>...</text>
<time>...</time>
</entry>


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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация