Click here to Skip to main content
14,924,006 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: Read XML in C# Pin
Yvan Rodrigues13-Dec-10 14:42
professionalYvan Rodrigues13-Dec-10 14:42 
Questionxml Pin
vijiajai25-Sep-10 19:37
Membervijiajai25-Sep-10 19:37 
QuestionNewDataset in XSD Pin
indian14320-Sep-10 5:05
Memberindian14320-Sep-10 5:05 
AnswerRe: I got the answer for this Pin
indian14320-Sep-10 6:40
Memberindian14320-Sep-10 6:40 
QuestionUpating xml in C# Pin
Sonar8724-Aug-10 22:56
MemberSonar8724-Aug-10 22:56 
AnswerRe: Upating xml in C# Pin
SeMartens25-Aug-10 4:27
MemberSeMartens25-Aug-10 4:27 
GeneralRe: Upating xml in C# Pin
Sonar8725-Aug-10 10:11
MemberSonar8725-Aug-10 10:11 
Questionxlst - format number function Pin
Simon_Whale4-Aug-10 4:15
professionalSimon_Whale4-Aug-10 4:15 
Im stuck and need help.. Big Grin | :-D

I using the following code to attempt to format a decimal number into £1000.99 for example

<pre>
<fo:table-cell>
<fo:block>
<xsl:value-of select='format-number(".//AmountPaid","#.00")' >
</fo:block>
</fo:table-cell>
</pre>

sample of the XML file is below

<ClaimsHistory>
<LossDate>26/12/2006</LossDate>
<OR>0.0000</OR>
<TypeOfLoss>HA</TypeOfLoss>
<LossDescription>Fire</LossDescription>
<Status>C&lt;/Status&gt;
<AmountPaid>41414.4900</AmountPaid>
</ClaimsHistory>



as you can see Im trying to convert the 41414.49 into £41414.90 but all i get is NaN and im stuck can someone please point me in the right direction?

Thanks
Simon

As barmey as a sack of badgers

AnswerRe: xlst - format number function Pin
Stuart Dootson8-Aug-10 5:43
professionalStuart Dootson8-Aug-10 5:43 
Questionxsl output in existing file Pin
lawrenceinba2-Aug-10 1:17
Memberlawrenceinba2-Aug-10 1:17 
AnswerRe: xsl output in existing file Pin
Stuart Dootson8-Aug-10 5:58
professionalStuart Dootson8-Aug-10 5:58 
Questionxml schema understanding Pin
jainiraj29-Jul-10 19:20
Memberjainiraj29-Jul-10 19:20 
QuestionJavaScript in XSLT Pin
rathishps29-Jul-10 3:32
Memberrathishps29-Jul-10 3:32 
QuestionODX checker tool Pin
jainiraj28-Jul-10 2:20
Memberjainiraj28-Jul-10 2:20 
Questionhow to deserialize xsi:type attribute in C# Pin
jainiraj26-Jul-10 1:04
Memberjainiraj26-Jul-10 1:04 
Questionjavascript in xsl Pin
lawrenceinba25-Jul-10 23:53
Memberlawrenceinba25-Jul-10 23:53 
QuestionHow to Convert XML to Image File,thanks Pin
tgbd197023-Jul-10 20:02
Membertgbd197023-Jul-10 20:02 
AnswerRe: How to Convert XML to Image File,thanks Pin
Richard MacCutchan23-Jul-10 22:14
mveRichard MacCutchan23-Jul-10 22:14 
QuestionHot to convert a Wordml to XSL Pin
Exelioindia20-Jul-10 19:20
MemberExelioindia20-Jul-10 19:20 
AnswerRe: Adding attributes to xml nodes Pin
DaveAuld17-Jul-10 8:58
professionalDaveAuld17-Jul-10 8:58 
GeneralRe: Adding attributes to xml nodes Pin
priyaahh17-Jul-10 9:16
Memberpriyaahh17-Jul-10 9:16 
Questionjava script code error Pin
varsh1216-Jul-10 19:26
Membervarsh1216-Jul-10 19:26 
AnswerRe: java script code error Pin
Stoffy197225-Jul-10 10:22
MemberStoffy197225-Jul-10 10:22 
QuestionXSD and Elements Order Pin
MrKBA13-Jul-10 21:51
MemberMrKBA13-Jul-10 21:51 
AnswerRe: XSD and Elements Order Pin
Stuart Dootson14-Jul-10 0:34
professionalStuart Dootson14-Jul-10 0:34 

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.