AW: Haskell2Xml - Some questions

Lescher Christian christian.lescher@icn.siemens.de
Wed, 18 Apr 2001 18:02:16 +0200


> > - Is there any support for floating point numbers (e.g. Double)?
> 
> XML does not (as far as I know) have any built-in concept of floating
> point numbers, so neither does HaXml.  However, within HaXml you
> have the full power of Haskell available to you, so if you wish to
> read, write, or process Doubles from/to some string content (or element
> attributes), you can probably code it yourself quite easily.
> 
	In case of Haskell2Xml, what about a conversion like this:

	  <double value="123.45"/>

	Is this easy to implement?

	Regards, Christian