[xml] converting xmlChar to float



Dear All,
 
I have a following snippet in my code:
 
xmlChar *myChar;
myChar = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
 
Then I want to convert the content of 'myChar' into float.
 
Anyone knows how to do this? None of ways known to me works.
 
Thx;
 
Regards;
 
maciej
 

Maciej Szewczykowski

Instytut Meteorologii i Gospodarki Wodnej
Radarowe Centrum Operacyjne
Institute of Meteorology and Water Management
Radar Operational Center
phone: +48 22 569 44 93
fax: +48 22 569 44 88

maciej szewczykowski imgw pl




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]