title: How to access parent element in Scala XML
body: <p>The <code>scala.xml</code> package represents XML with nodes of a labelled tree. But is this tree unidirectional in Scala 2.7, as there seems to be no way to access the <code>Elem</code> parent of a given <code>Elem</code>? The same seems to apply for parent <code>Document</code>. For example, in XOM you have <code>getParent</code> and <code>getDocument</code> accessors to navigate towards the root of the tree. Can this be done with Scala's XML API?</p>