What would be the best software, and also what would be the best
programming language based solution, to solve the following problem:
I have an XML data set I reference with the usual HTML table. What I
want to do, is to give rows in the data that contain, say the word X in
column 2 a red background color, while I give rows in the data that
contain, the word Y in column 2 a green background color.
More ambitiously, I would like to set rows that contain X in column 2
to have the font style, text color, text size, etc and also the
background color determined by one CSS id, while I set the rows that
contain Y in column 2 to have font style text color text size etc and
background color determined by another CSS id. 2 1085 vi*******@rcn.com wrote: What would be the best software, and also what would be the best programming language based solution, to solve the following problem:
Something you already know reasonably well, or something that's worth
learning as a long term goal.
XSLT could certainly solve this problem for you (Try Michael Kay's
book if you need a tutorial). vi*******@rcn.com wrote: What would be the best software, and also what would be the best programming language based solution, to solve the following problem:
I have an XML data set I reference with the usual HTML table. What I want to do, is to give rows in the data that contain, say the word X in column 2 a red background color, while I give rows in the data that contain, the word Y in column 2 a green background color.
More ambitiously, I would like to set rows that contain X in column 2 to have the font style, text color, text size, etc and also the background color determined by one CSS id, while I set the rows that contain Y in column 2 to have font style text color text size etc and background color determined by another CSS id.
See the XSL FAQ http://www.dpawson.co.uk/xsl/sect2/N961.html
///Peter
--
XML FAQ: http://xml.silmaril.ie/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Arthur Shapiro |
last post by:
I'm the webmaster for a recreational organization. As part of one page of the
site, I have an HTML "Calendar at a Glance" of the organization's events for
the month. It's a simple table of a...
|
by: cpt |
last post by:
I read that if one uses "table-layout:fixed"
then table rendering is speeded by setting row height. All my rows
are 285 px high.
1) Is this true?
2) If true, how does one set row-height for the...
|
by: Shafia |
last post by:
Hi,
I have a TreeView and a GridView in my UI. On a "CheckChanged" event of
tree, I do the following
GridView1.Rows.Cells.Text = e.Node.Text;
or rather
...
|
by: vincemoon |
last post by:
What would be the best software, and also what would be the best
programming language based solution, to solve the following problem:
I have an XML data set I reference with the usual HTML table....
|
by: John |
last post by:
Hi,
I have set a DataGridViewComboBoxColumn for a complex object type, and set
the DisplayMember and ValueMember to members of the object type. My problem
is how to programmatically set the cell...
|
by: Jacksm |
last post by:
How can I align an asp:table columns with gridview columns (the
widths)? I have tried setting table.column(0).width =
gridview.column(0).width at page_load but it doesn't work.
Thanks in advance
|
by: sitko |
last post by:
Hi,
I have an Order tracking spreadsheet that I need help with.
I have a 2 worksheets "Open", and "Closed".
I have entries on the "Open" sheet which may or may not be grouped together. I've...
|
by: bobk |
last post by:
My apologies upfront for what I am sure is a newbie question, but I
have been unable to find an answer via search.
I am a VB6 programmer trying to write programs in VB 2008 Express.
I have an...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |