Scala - modifying nested elements in xml

后端 未结 7 643
太阳男子
太阳男子 2020-12-02 11:11

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

7条回答
  •  暖寄归人
    2020-12-02 11:55

    One approach would be lenses (e.g. scalaz's). See http://arosien.github.io/scalaz-base-talk-201208/#slide35 for a very clear presentation.

提交回复
热议问题