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

SV: Re: char replacement

Subject: SV: Re: char replacement
From: "bryan" <bry@xxxxxxxxxx>
Date: Fri, 10 May 2002 10:17:34 +0200
grayscale hex
Dmitre wrote:
>You can use the str-map() function from FXSL to replace any occurence
of a character with a given string.

Do you think that FXSL could be used to replace a grayscale hex value. 
Let us say we have values like the following: ffffff, 000000, cccccc,
999999 
We use the value as a variable grayscale then we send in some parameters
Par1 = ff0000
Par2 = 0000ff

What I really want to do is to replace the grayscale with a value
representing the level of saturation of the diff between Par1 and Par2
so that for example ffffff would be replaced with ff0000 and 000000
would be replaced with 0000ff and the inbetweens with the appropriate
level of color saturation?

If you think so could you point me to the appropriate parts of the
library for me to experiment with?


 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-2013 All Rights Reserved.