This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: table alignment revisted
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] table alignment revisted
- From: "Tanzila Mohammad" <tmohammad at entier-solutions dot com>
- Date: Tue, 1 May 2001 10:36:56 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
The html has already been designed for the whole page. But the top form
section does not involve any xsl so it was saved as a jsp file and consisted
of the following:
query.jsp file
<html>
<body>
<form ..>
<table width ="600"...>
<tr><table width ="580" ...>
<table width="400" ..>
</table>
</table>
<% jsp which calls a method to process the xml and my.xsl
and then to print out the html produced (intermediate table) in this area
(out.print(html))
%>
</table>
</form>
</body>
</html>
My xsl:
develops the intermediate html table:
<template name=org">
<table width="400" ..>
<tr> </tr>
</table>
</template>
<xsl:template match="/">
<xsl:call-template name="org"/>
</xsl:template>
</xsl:stylesheet>
The problem is that the intermediate html table does not align with the
<table
width="400"> in the top section of the html (pre jsp call), it juts out to
the right>
<!--what should be in my xsl to reddem this? -->
Tanz
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list