convert xhtml to another xhtml using xslt

Joined
Dec 20, 2009
Messages
1
Reaction score
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.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top