title: XInclude and Scales XML
body: <p>I'm using the <a href="https://github.com/chris-twiner/scalesXml" rel="nofollow">Scales library</a> to process XML in Scala, and I'd like to have <a href="http://www.w3.org/TR/xinclude/" rel="nofollow"><code>xi:include</code> elements</a> expanded during parsing. This doesn't happen by default—if I write the following, for example, any <code>include</code> elements in the XML file will appear unexpanded in the parsed document:</p>
  
  <pre><code>import java.io.FileReader
  import scales.utils._, ScalesUtils._
  import scales.xml._, ScalesXml._
  
  val doc = loadXml(new FileReader("data/example.xml"))
  </code></pre>
  
  <p>Is it possible to have these elements expanded? I'm using Scales 0.6.0-M1.</p>