Serialize XML
Escape xml