|
Subject: [xsl] number(false) gives unexpected results From: Matt Phillips <mphillips@xxxxxxxxxxxxxxx> Date: Wed, 13 Feb 2002 11:06:19 -0500 |
Can anyone tell me why in this expression:
<img src="tab.{number(contains($input/@ACTIVE,@LABEL))}.gif" />
the evaluation comes out as:
tab.0.0000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000013310712
109329969.gif
when I evaluate 'contains($input/@ACTIVE,@LABEL)' it evaluates correctly
('true' or 'false'), but as soon as I use the number() function, I get this
result. The above number is a 'false' case; the true case ends in 83 instead
of 69. I am using Xalan and Xerces; is this a bug in the jars? I expect the
evaluation to be either '1' or '0'.
Cheers,
-m*
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] how to transform one doc , Jeni Tennison | Thread | [xsl] CALS to html, Andrew Welch |
| [xsl] how to transform one doc to 2, Jakub . Valenta | Date | RE: [xsl] XSLT: Sort Question, Ragan, Mitch |
| Month |