[xml] encoding floats



I'm not grokking a detail about libxml:

I want to store matrices, so I want to encode two ints (the
dimensions) and a whole bunch of doubles (the elements of the
matrices).

It's not clear to me how to encode the numbers except to sprintf and
sscanf them, which seems kludgy.

Can someone point me in the right direction?

Thanks.

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B



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