Reputation: 1700
Is it possible to reference one xml variable from another xml? E.g. is it possible to do something like this:
val foo = <foo> foo text </foo>
val bar = <bar> + foo + </bar>
so that bar will contain foo as it's child:
<bar><foo>foo text</foo></bar>
Upvotes: 1
Views: 40