473,513 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

colors in xml

81 New Member
Sir:

<Microsoft>
<Platform>
<FirstName>ASP</FirstName>
<SecondName>.NET</SecondName>
</Platform>
<Platform>
<FirstName>J#</FirstName>
<SecondName>.NET</SecondName>
</Platform>
</Microsoft>

For these xml i want to change the colors like within the tag RED color tag BLUE color and answer is BLACK color Can U Help PLZ!!
Sep 25 '07 #1
3 1021
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
Sir:

<Microsoft>
<Platform>
<FirstName>ASP</FirstName>
<SecondName>.NET</SecondName>
</Platform>
<Platform>
<FirstName>J#</FirstName>
<SecondName>.NET</SecondName>
</Platform>
</Microsoft>

For these xml i want to change the colors like within the tag RED color tag BLUE color and answer is BLACK color Can U Help PLZ!!
Getting to the basics. XML is datacentric
which means you cannot change colours of them in the xml view.
You need a transformation file / xslt to change the output to something like HTML and set the colour at runtime while reading the respective nodes.

this dosent look like a .Net question either.

Cheers
Sep 26 '07 #2
ganesh22
81 New Member
Getting to the basics. XML is datacentric
which means you cannot change colours of them in the xml view.
You need a transformation file / xslt to change the output to something like HTML and set the colour at runtime while reading the respective nodes.

this dosent look like a .Net question either.

Cheers



Sir:

Can U explain how to use XSLT file??
Sep 26 '07 #3
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
Sir:

Can U explain how to use XSLT file??
there you go
cheers
Sep 26 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
2489
by: aznFETISH | last post by:
I have a list of links that I ue on my page, I alternate background colors for these links in a table, I usually do it using a DB but this list of link is manually added into the page so my...
7
2886
by: Laszlo Zsolt Nagy | last post by:
Hello, How can I determine the number of colors used in an image? I tried to search on Google but I could figure out. I read the PIL handbook but I do not see how to do it. Can anyone help? ...
5
2403
by: Dan Jacobson | last post by:
What's Nielsen talking about in http://www.useit.com/alertbox/20040503.html http://www.useit.com/alertbox/20040510.html Can't a good browser keep track of visited vs. unvisited link colors? Is my...
3
3577
by: Marc | last post by:
Hi, maybe you guys know something I don't know... Is it possible (and how) to achieve the following: 1) A <BODY> with specific background-color, say blue. 2) A <DIV class='main'> (which...
6
6114
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
0
352
by: mark | last post by:
Somebody can explain me why if I put a color with SetPixel the color showed is of another value? For example: I've to draw a grayscale image. The color RGB(90,90,90) become RGB(40,45,60). In the...
6
2227
by: Mark | last post by:
Is there a programatic way to iterate through all the named colors? Something like: HtmlTable ht = new HtmlTable(); HtmlTableRow htr; HtmlTableCell htc; foreach (Color c in ) //I CAN'T FIND...
11
2239
by: Paul Smith | last post by:
I have a button on my web page the backcolor of which I want to change: btnSample.backcolor = ???????? I want the color to be Gainsboro However I enter Gainsboro or color.Gainsboro I have...
1
1866
by: Demi | last post by:
I want to be able to define standard colors in a base form, then have child forms use those values instead of standard colors. Ex in my base form I want to do this: Color myColor =...
5
14529
by: Stick | last post by:
Hi, I normally program in C++, and I'm trying to write this little tool in C#, but I quickly realized that I can't use pointers, so instead I need to create an array of 3 Color 's private...
0
7259
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7158
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7380
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7523
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5683
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1592
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.