XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Posttop
Peter JoranSubject: Conditional Formattinf Formula- current cell
Author: Peter Joran
Date: 30 Apr 2009 09:29 AM
All
This is my first crack at XSLT so please bear with me.
Please reference the attached file.
Is there a way to to reference the 'current cell' in the formula for conditional formatting?

Example
Status column
[cell]= 1.0

Because I did not know how to reference the current cellI tried to use the the formula to populate the Status values in the conditional formatting formula but that did not work either. Here it is.

[ count ( /dsQueryResponse/Rows/Row [ @Status_ = 'Assigned' ] /@Title ) div count ( /dsQueryResponse/Rows/Row/@Title ) ] = '1.0'

Also, is there a way that I can format the Status as a percentage (85.55%) and still make the formula for conditional formatting work?

Many Thanks
Pete



Image1.jpg
Webpart graphic

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.