Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XSLT Help and Discussion
»
Numeric comparison not working.
Topic
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
next
Subject:
Numeric comparison not working.
Author:
Vishal Singh
Date:
21 Feb 2007 03:59 PM
<xsl:variable name="zero">0</xsl:variable>
<saxon:assign name="sumX" select="sum($nodelistX)"></saxon:assign>
<xsl:value-of select="$sumX = $zero"></xsl:value-of>
<xsl:value-of select="$sumX = 0"></xsl:value-of>
When sum($nodelistX) returns 0. Both comparisions returns false. Why ?
How to fix this ? Please help.
top
Subject:
Numeric comparison not working.
Author:
Tony Lavinio
Date:
22 Feb 2007 10:31 AM
Almost always, when you are using saxon:assign,
it means you're not using XSLT properly.
But this question should be asked on the saxon-help
mailing list, which is specifically for Saxon-related
questions.
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
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 to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
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.