Subject: RE: ?MSXML transformNode From: "Paulo Gaspar" <paulo.gaspar@xxxxxxxxxxxx> Date: Wed, 9 Aug 2000 22:54:20 +0200 |
> 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. This is a very good piece of advise. Sometimes IE5 - even with MSXML3 in Replace Mode - just goes crazy and hides valid HTML. Really valid. Meaning that if I generate the resulting HTML text outside of IE and then use IE to read it, than it works. It is a freak incident that only happens sometimes. I have no clue on the reason. Might even only be in my machine! =:o( Have fun, Paulo Gaspar > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Jeni Tennison > Sent: Wednesday, August 09, 2000 08:05 > To: Serg Stone > Cc: xsl-list@xxxxxxxxxxxxxxxx > Subject: Re: ?MSXML transformNode > > > 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: ?MSXML transformNode, Jeni Tennison | Thread | Re[2]: ?MSXML transformNode, Serg Stone |
RE: Multiple Rows in a Table / Same, Paulo Gaspar | Date | Re: <BR> a problem for XALAN?, John Robert Gardner |
Month |