[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Hexadecimal Arithmetic

Subject: Hexadecimal Arithmetic
From: "Maulik Modi" <mxmodi@xxxxxxxxxxxxxxx>
Date: Thu, 31 Aug 2000 09:45:05 -0500
hexadecimal arithmetic

Hi,

I have the following snippet of my XML data:
<root>
<parent level="1">
<child1>some text</child1>
<child2>some more text</child2>
<parent>
<parent level="2">
<child1>text</child1>
<child2>different text</child2>
</parent>
....
</root>

I want to present this in a table and that's done. Now I want to color code each
 table row depending on the value of the "level" attribute. That's done. Now I
want to give each row a different gradient of the same color depending on the
value of the "level". The value of the level ranges from 1-10. I wanted to take
this and use
it with hexadecimal arithmetic. Does anyone know how?

I am getting greedy now, but it would be really nice if I could do this
dynamically as I foresee that my XML data will not be static.

Any help is appreciated.

Maulik





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.