xml writer - export escape function.
Added some examples to README.