title: How to save newlines in XML attribute?
body: <p>I need to save content that containing newlines in some XML attributes, not text.
  The method should be picked so that I am able to decode it in XSLT 1.0/ESXLT/XSLT 2.0</p>
  
  <p>What is the best encoding method? </p>
  
  <p>Please suggest/give some ideas.</p>