|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
XML to insert tags
Hi all,
I have an xsl file whein i define the structure of the page. I have an xml file that holds the data. I would like to insert some tags in the output. These tags are available as a part of the data. For example. The xsl file defines a table and the rows are populated based upon the data in the xml file. I would like to display some of the rows in a different color. I cannot define it in the xsl file, since there is only one defnition that all rows use. Hence i was thinking of adding the color tag(style) in as a part of the data in the xml file. Will that work and how can i implement that. Appreciate the help. Thanks, Preetham. |
|
#2
|
||||
|
||||
|
try adding and attribute to your row in the xml which manages the color. then use the vaule of that to mangae the color change by css or simple style change.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XML to insert tags |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|