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
    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. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric Anderson

    Using XSLT to extend XHTML

    Eric Anderson, Oct 8, 2004, in forum: XML
    Replies:
    1
    Views:
    509
    Tjerk Wolterink
    Oct 9, 2004
  2. Moonbeam66
    Replies:
    2
    Views:
    422
    Moonbeam66
    Jun 7, 2005
  3. sneill@mxlogic.com
    Replies:
    2
    Views:
    705
    Henry S. Thompson
    Oct 19, 2005
  4. yinglcs@gmail.com
    Replies:
    18
    Views:
    2,739
    Joseph Kesselman
    Oct 4, 2006
  5. chronos3d
    Replies:
    9
    Views:
    757
    Andy Dingley
    Dec 5, 2006
Loading...

Share This Page