HTML format problem

  • Thread starter Aurimas Norkevicius
  • Start date
A

Aurimas Norkevicius

Hi,

I use XML Web Control to transform data. After transformation it outputs
data in the form

<table cellSpacing="0" cellPadding="0" width="773"
align="center" border="0">
<tr>
<td vAlign="top" align="left" width="194">
<img height="91" src="web_images/main_top_logo.gif"
width="194">
</td>
<td vAlign="top" align="left" width="221">
<img height="91" src="web_images/main_top_photo.jpg"
width="221">
</td>
<td vAlign="top" align="left" width="358" bgColor="#017dc2">
</td>
</tr>
</table>

This looks bad when browseing

I need it to be in the form:

<table cellSpacing="0" cellPadding="0" width="773" align="center"
border="0"><tr><td vAlign="top" align="left" width="194"><img height="91"
src="web_images/main_top_logo.gif" width="194"></td><td vAlign="top"
align="left" width="221"><img height="91"
src="web_images/main_top_photo.jpg" width="221"></td><td vAlign="top"
align="left" width="358" bgColor="#017dc2"></td></tr></table>

With no auto html formatting. And it looks good
Aurimas
 
H

Hans Kesting

Aurimas Norkevicius said:
Hi,

I use XML Web Control to transform data. After transformation it outputs
data in the form

<table cellSpacing="0" cellPadding="0" width="773"
align="center" border="0">
<tr> [snip]
</td>
</tr>
</table>

This looks bad when browseing

I need it to be in the form:

<table cellSpacing="0" cellPadding="0" width="773" align="center"
border="0"><tr><td vAlign="top" align="left" width="194"><img height="91" [snip]
align="left" width="358" bgColor="#017dc2"></td></tr></table>

With no auto html formatting. And it looks good
Aurimas

use indent="no"

<xsl:blush:utput method="html" indent="no" />


Hans Kesting
 

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

Top