I\'m learning scala, and I\'m looking to update a nested node in some xml. I\'ve got something working but i\'m wondering if its the most elegant way.
I have some xm
You can use Lift's CSS Selector Transforms and write:
"subnode" #> ("version *" #> 2)
See http://stable.simply.liftweb.net/#sec:CSS-Selector-Transforms