title: Convert XML Attributes To Elements XSLT
body: <p>I am trying to convert attributes to sub-elements, ie turn the following:</p>
  
  <pre><code>&lt;WP featured="yes" player="no" dancers="no" series="logos" archive="no" fanart="no" id="eclipse_logos_"&gt;
      &lt;seriesName&gt;LOGOS&lt;/seriesName&gt;
      &lt;selection&gt;ECLIPSE&lt;/selection&gt;
      &lt;imgurl&gt;http://www.nba.com/warriors/photos/eclipse_logos_&lt;/imgurl&gt;
      &lt;res&gt;1024x1024r(iPad/iPhone)?1280x1024r(Regular)?1440x900r(Widescreen)?1920x1080r(HDTV)?1920x1200r(Widescreen)&lt;/res&gt;
  &lt;/WP&gt;
  </code></pre>
  
  <p>Into:</p>
  
  <pre><code>&lt;WP&gt;
      &lt;featured&gt;yes&lt;/featured&gt;
      &lt;player&gt;no&lt;/player&gt;
      &lt;dancers&gt;no&lt;/dancers&gt;
      &lt;series&gt;logos&lt;/series&gt;
      &lt;archive&gt;no&lt;/archive&gt;
      &lt;fanart&gt;no&gt;&lt;/fanart&gt;
      &lt;id&gt;eclipse_logos_&lt;/id&gt;
      &lt;seriesName&gt;LOGOS&lt;/seriesName&gt;
      &lt;selection&gt;ECLIPSE&lt;/selection&gt;
      &lt;imgurl&gt;http://www.nba.com/warriors/photos/eclipse_logos_&lt;/imgurl&gt;
      &lt;res&gt;1024x1024r(iPad/iPhone)?1280x1024r(Regular)?1440x900r(Widescreen)?1920x1080r(HDTV)?1920x1200r(Widescreen)&lt;/res&gt;
  &lt;/WP&gt;
  </code></pre>