On 18Nov08 17:41, Andrew M. wrote:
}Thanks, that solved it.
}Unfortunately I have another question (which may be very very stupid :D ):
}how do I cast a xmlChar to a float?

You don't, you need to parse it somehow. Take a look at atof(3) for a simple
example. Note, that returns a double. In general floats are a waste of time
due to limited precision. Unless you really need the bytes, just save yourself
grief and use doubles everywhere.

    C

-- 

Callum Gibson @ home

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to