XQuery: Create a new element with a given name?

Posted by Rosarch on Stack Overflow See other posts from Stack Overflow or by Rosarch
Published on 2010-03-30T01:01:43Z Indexed on 2010/03/30 1:03 UTC
Read the original article Hit count: 271

Filed under:
|

I have data like:

    <td>USERID</td>

    <td>NAME</td>

    <td>RATING</td>

I want to transform it into:

<userid></userid>
<name></name>
<rating></rating>

How can I do this?

© Stack Overflow or respective owner

Related posts about xquery

Related posts about Xml