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

format negative numbers

Subject: format negative numbers
From: "Markus Gamperl" <markus.gamperl@xxxxxx>
Date: Mon, 28 Apr 2008 10:40:44 +0200
 format negative numbers
Hi.

I have a html report with lots of number columns. I want to highlight negative numbers in red color.

I know I could add an if element in every column and check for negative numbers. If negative I could add a style attribut to the table cell. Another way could be calling a template with parameter which does the formatting task.

But is there a more simple way to do this? Im also working with the format-number function but I didn't find a feature to implement my needs...

What do you mean?

Thanks
Markus
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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