Click here to Skip to main content
15,886,519 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Detect Invalid sequence of tag in XML document using schema. Pin
tprakash14-Jul-09 23:13
tprakash14-Jul-09 23:13 
GeneralRe: Detect Invalid sequence of tag in XML document using schema. Pin
Stuart Dootson15-Jul-09 0:42
professionalStuart Dootson15-Jul-09 0:42 
GeneralRe: Detect Invalid sequence of tag in XML document using schema. Pin
tprakash15-Jul-09 22:28
tprakash15-Jul-09 22:28 
Question[Message Deleted] Pin
lostinxsl16-Jun-09 4:49
lostinxsl16-Jun-09 4:49 
AnswerRe: XSL: which generates Javascript Pin
led mike16-Jun-09 5:36
led mike16-Jun-09 5:36 
General[Message Deleted] Pin
lostinxsl16-Jun-09 13:45
lostinxsl16-Jun-09 13:45 
GeneralRe: XSL: which generates Javascript Pin
led mike17-Jun-09 4:29
led mike17-Jun-09 4:29 
QuestionXML Accuracy Puzzle Pin
contactowen16-Jun-09 2:40
contactowen16-Jun-09 2:40 
If I execute the following xslt I get the result given below.
I'm no mathematician but 100 times 2500.01 does not equal 250001.00000000003
I can find very little about this on the web and no suggested fixes or
solutions.
This is causing me a big problem as my entire architecture hangs around xslt.
Using VS2008 and have IE8 installed.
Can anyone help? Please?

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:template match="/">
<res>
<xsl:value-of select="2500.01 * 100"/>
</res>
</xsl:template>
</xsl:stylesheet>


<?xml version="1.0" encoding="utf-8"?>
<res>250001.00000000003</res>
AnswerRe: XML Accuracy Puzzle Pin
Stuart Dootson16-Jun-09 2:54
professionalStuart Dootson16-Jun-09 2:54 
GeneralRe: XML Accuracy Puzzle Pin
contactowen16-Jun-09 4:19
contactowen16-Jun-09 4:19 
GeneralRe: XML Accuracy Puzzle Pin
Stuart Dootson16-Jun-09 5:43
professionalStuart Dootson16-Jun-09 5:43 
QuestionImage in XML attribute Pin
Nikkiee15-Jun-09 16:59
Nikkiee15-Jun-09 16:59 
AnswerRe: Image in XML attribute Pin
Stuart Dootson15-Jun-09 22:48
professionalStuart Dootson15-Jun-09 22:48 
QuestionSpecifying condition with count function Pin
Fadi Yoosuf15-Jun-09 0:28
Fadi Yoosuf15-Jun-09 0:28 
AnswerRe: Specifying condition with count function [modified] Pin
Stuart Dootson15-Jun-09 4:05
professionalStuart Dootson15-Jun-09 4:05 
GeneralRe: Specifying condition with count function Pin
Fadi Yoosuf16-Jun-09 1:03
Fadi Yoosuf16-Jun-09 1:03 
QuestionXML DOM insertBefore() Method Pin
p_196011-Jun-09 23:58
p_196011-Jun-09 23:58 
AnswerRe: XML DOM insertBefore() Method Pin
George L. Jackson12-Jun-09 2:23
George L. Jackson12-Jun-09 2:23 
QuestionHow to modify XML file's Element and Attribute copying from another file using C# Pin
Nikkiee11-Jun-09 13:45
Nikkiee11-Jun-09 13:45 
QuestionXML/XSL Html table trouble Pin
Brian_Mitchell10-Jun-09 22:50
Brian_Mitchell10-Jun-09 22:50 
AnswerRe: XML/XSL Html table trouble Pin
George L. Jackson11-Jun-09 14:02
George L. Jackson11-Jun-09 14:02 
AnswerRe: XML/XSL Html table trouble Pin
Stuart Dootson11-Jun-09 22:58
professionalStuart Dootson11-Jun-09 22:58 
QuestionSerialization Invalid cast exception Pin
miniThomas10-Jun-09 20:39
miniThomas10-Jun-09 20:39 
AnswerCross Posted Pin
led mike11-Jun-09 4:39
led mike11-Jun-09 4:39 
QuestionPreserving white space in attribute values. (using MSXML) Pin
Maximilien9-Jun-09 7:25
Maximilien9-Jun-09 7:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.