Hi. I've found other questions on moving nodes upwards into the parent but I'm missing the trick to move them down into a newly created node.
Given:
<Villain>
<Name>Dr Evil</Name>
<Age>49</Age>
<Like>Money</Like>
<Like>Sharks</Like>
<Like>Lasers</Like>
</Villain>
I'm trying to transform this with XSLT to:
<Villain>
<Name>Dr Evil</Name>
<Age>49</Age>
<Likes>
<Like>Money</Like>
<Like>Sharks</Like>
<Like>Lasers</Like>
</Likes>
</Villain>
In other words, insert a new child node and move all the child nodes called "Like" under it.