convert xhtml to another xhtml using xslt

Discussion in 'XML' started by Usha2009, Dec 20, 2009.

  1. Usha2009

    Usha2009

    Joined:
    Dec 20, 2009
    Messages:
    1
    Likes Received:
    0
    Hi

    I am new to XML and XHTML. I have the below format XHTML.

    <?xml version="1.0" encoding="utf-16"?>
    <div>
    <table>
    <tr><td><img/></td><td>aaa</td>
    <tr><td><img/></td><td>bbb</td>
    <tr><td><img/></td><td>ccc</td>
    <tr><td><img/></td><td>ddd</td>
    </table>

    I want to convert it into below.

    <?xml version="1.0" encoding="utf-16"?>
    <div>
    <table>
    <tr><td><table>aaa</table></td><td><table>bbb</table></td></tr>
    <tr><td><table>ccc</table></td><td><table>ddd</table></td></tr>
    </table>

    How can I do it. I have one more basic question as, is the above XHTML or XML format.

    Please help in this regard.
    Thanks and regards,
    Usha.
     
    Usha2009, Dec 20, 2009
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.