title: XML Creation - error: overloaded method constructor UnprefixedAttribute with alternatives
body: <pre><code>scala&gt; val count = 7
  count: Int = 7
  </code></pre>
  
  <p>putting that into an XML attribute gives an error:</p>
  
  <pre><code>scala&gt; val x = &lt;element count={count}/&gt;
  &lt;console&gt;:8: error: overloaded method constructor UnprefixedAttribute with alternatives:
    (key: String,value: Option[Seq[scala.xml.Node]],next: scala.xml.MetaData)scala.xml.UnprefixedAttribute &lt;and&gt;
    (key: String,value: String,next: scala.xml.MetaData)scala.xml.UnprefixedAttribute &lt;and&gt;
    (key: String,value: Seq[scala.xml.Node],next1: scala.xml.MetaData)scala.xml.UnprefixedAttribute
   cannot be applied to (java.lang.String, Int, scala.xml.MetaData)
         val x = &lt;element count={count}/&gt;
  </code></pre>