Scala XML Building: Adding children to existing Nodes

前端 未结 9 1229
感动是毒
感动是毒 2020-12-15 04:42

I Have an XML Node that I want to add children to over time:

val root: Node = 

But I cannot see methods such as

9条回答
  •  时光说笑
    2020-12-15 05:24

    Scales Xml allows for simple in place changes via folding over XPaths, adding in children to a particular sub node fits right into this approach.

    See In-Place Transformations for more details.

提交回复
热议问题