Subject: Re: ?MSXML transformNode From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Wed, 09 Aug 2000 19:05:19 +0100 |
Serg, >I have XML file and XSLT file that converts it into HTML. The result >is simple HTML table. It has <COL> specifications for all columns. For >some columns <COL align="right"> is used. >When I apply transformNode() function to the table right align is >changed by simple left align. Is it a bug or feature of MSIE? In your stylesheet, you are creating the COL elements through: ><xsl:template match="tbl_col/tbl_row"> ><TR> > <xsl:for-each select="*"> > <COL align="right"> > <xsl:value-of select="." /> > </COL> > </xsl:for-each> ></TR> ></xsl:template> This creates the COL elements within a TR, whereas COLs are supposed to be first within a TABLE for them to have any effect. It might be worth you running your XML and stylesheet through a XSLT processor manually to see what HTML it generates: this should highlight any bugs in the HTML that is generated, as opposed to those in the stylesheet itself. I hope that helps, Jeni Dr Jeni Tennison Epistemics Ltd * Strelley Hall * Nottingham * NG8 6PE tel: 0115 906 1301 * fax: 0115 906 1304 * email: jeni.tennison@xxxxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re[2]: ?MSXML transformNode, Serg Stone | Thread | RE: ?MSXML transformNode, Paulo Gaspar |
RE: Detecting a linefeed in input t, Kay Michael | Date | Re: Detecting a linefeed in input t, Jeni Tennison |
Month |