Allow zero and false as elements value

Hi

I need to emit both 0 and false in XML.  Made a small mod to do so.

Hope it's valid
thanks