i have the xml in a structure such as this:
<RWFCriteria reportType="ProgramReview">
<item id="36" name="" value="9" type="Milestone" />
<item id="31" name="" value="9" type="Milestone" />
<item id="33" name="" value="11" type="Milestone" />
</RWFCriteria>
and need to it be converted to:
<data>
<release id="9"> <milestone id="36" /> <milestone id="31" /> </release>
<release id="11"> <milestone id="33" /> </release>
</data>
what would the XSLT look like for this transformation?