I am somewhat new to XSLT, and I have a situation where depending on certain conditions I want to convert XML like:
<SomeElement>
<ChildElement/>
<ChildElement/>
<ChildElement/>
...
</SomeElement>
to:
<SomeElement value="something">
<ChildElement/>
<ChildElement/>
<ChildElement/>
...
</SomeElement>
I don't want to specify the child elements in the template that modifies the element, as these may change.
What kind of template with perform this type of transformation?