Replaced lambdas with direct method pointer.
Avoid emitting "&#x0;" when rendering XML since it is NOT valid in XML.
Merge pull request #91 from bjorg/DR-110

DR-110 Don't emit null chars when rendering XML