title: Line wrapping Scala XML literal
body: <p>How can I line wrap a Scala XML literal? In the following example I would like the string to wrap after (say) 80 columns. Using a <code>\</code> as in a few other languages results in the <code>\</code> being literally included in the XML.</p>
  
  <pre><code>val xmlLiteral =
  &lt;p&gt;Lorem Ipsum&lt;/p&gt;
  &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et velit vel dui aliquet facilisis ac vel quam. Ut fringilla nec nisi sed ultricies. Proin at enim sed erat rutrum pretium. Donec porttitor pharetra consectetur. &lt;/p&gt;
  </code></pre>