I would like to produce below xml. I do not want to add xsv block inside xpm and MyRoot by repeating the same code.Instead I want to call a method or closure so that It will return xsv block which can be added in the respective parent node(MyRoot and xpm)
<MyRoot>
<xsv>
<action>create</action>
<actionID>4</actionID>
</xsv>
<xpm>
<xsv>
<action>create</action>
<actionID>4</actionID>
</xsv>
</xpm>
</MyRoot>
No comments:
Post a Comment