title: XQuery: Create a new element with a given name?
body: <p>I have data like:</p>
  
  <pre><code>    &lt;td&gt;USERID&lt;/td&gt;
  
      &lt;td&gt;NAME&lt;/td&gt;
  
      &lt;td&gt;RATING&lt;/td&gt;
  </code></pre>
  
  <p>I want to transform it into:</p>
  
  <pre><code>&lt;userid&gt;&lt;/userid&gt;
  &lt;name&gt;&lt;/name&gt;
  &lt;rating&gt;&lt;/rating&gt;
  </code></pre>
  
  <p>How can I do this?</p>