[thelist] [XSL] New Line
Howard Cheng
howcheng at ix.netcom.com
Fri Nov 15 12:51:00 CST 2002
The only problem with using this is that when you have very exacting HTML
designs, such as:
<table>
<tr>
<td><img src="..."/></td>
<td><img src="..."/></td>
</tr>
</table>
By using <xsl:output method="html" indent="yes"/> you get:
<table>
<tr>
<td>
<img src="...">
</td>
<td>
<img src="...">
</td>
</tr>
</table>
This introduces extra spacing into your table cells you don't want it,
which often will blow the design.
At 12:43 PM 11/15/2002 -0600, MarsHall wrote:
><xsl:output
> method="html"
> encoding="iso-8859-1"
> doctype-system="theSystemDocTypeHere"
> doctype-public="thePublicDocTypeHere"
> indent="yes" />
>
>By specifying indentation, most conformant engines will add linebreaks
>and tabs to make the output [more] human readable.
::::::::::::::::::::::::::::::::::
Howard Cheng
http://www.howcheng.com/ <-- NEW!
howcheng at ix dot netcom dot com
AIM: bennyphoebe
ICQ: 47319315
More information about the thelist
mailing list