Re: Converting float to XMLFloat

2004-05-28 Thread Bettina Reck
Hi, Gareth! Thanks again for your answer! In the meantime I solved my "problem" - I just had to convert my input data with sprintf() to a char* and then further on via XMLString::transcode() Bettina > Hi, > where are these inputs coming from? Are they actually XMLFloat > types? If the

Re: Converting float to XMLFloat

2004-05-28 Thread Gareth Reakes
Hi, where are these inputs coming from? Are they actually XMLFloat types? If they are, take a look at the API for XMLFloat. There are methods there that will help you. If not, explain your situation in more detail and I will try to help. Gareth On Fri, 28 May 2004, Bettina Reck wrote: >

Re: Converting float to XMLFloat

2004-05-28 Thread Bettina Reck
Thanks for the answer! The DOM document element nodes consist of text nodes and therefor are of XMLCh datetype - that's clear to me. But in my task I have to build an XML file according to a given schema of several input values and some of them are floats. So is there a save way for the floats to

Re: Converting float to XMLFloat

2004-05-28 Thread Gareth Reakes
Hi, On Thu, 27 May 2004, Bettina Reck wrote: > Dear all, > > I am new to Xerces-c-parser and I have the following question: > > I am using the DOMWriter to serialize an XML-file which I created before > using the DOMBuilder class. Some of my text-nodes have a float value so how You hit the nail

Converting float to XMLFloat

2004-05-27 Thread Bettina Reck
Dear all, I am new to Xerces-c-parser and I have the following question: I am using the DOMWriter to serialize an XML-file which I created before using the DOMBuilder class. Some of my text-nodes have a float value so how can I arrange to convert my float-value-input into the XMLFloat-type (as th