Title is pretty self-explanatory. How can I convert an instance of org.w3c.dom.Document to a Scala NodeSeq, to enjoy it's facilitation?
Cheers
Parsa
Title is pretty self-explanatory. How can I convert an instance of org.w3c.dom.Document to a Scala NodeSeq, to enjoy it's facilitation?
Cheers
Parsa
I have recursive pattern-matching code similiar to the scalaToDom4j(n) function above, only in the Saxon XdmNode to Scala Node direction up at: https://github.com/LeifW/MusicPath/blob/master/src/main/scala/org/musicpath/saxon2scala/Saxon2Scala.scala
Currently it just makes Text, Element, and non-namespaced Attribute nodes, but it should be easy to generalize / finish.