Re: [xsl] Problem writing xsl to convert xml to excel

Subject: Re: [xsl] Problem writing xsl to convert xml to excel
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 05 Mar 2004 23:57:29 +0100
Anna Bikkina wrote:

Thanks to everyone who answered and sorry for the vague question . I got it working with the below xsl, but there is one problem. The columns get printed from column1 instead of column0. Can someone tell me how I can print right from column0.

The position() function returns 1 for the first item in the node set. If you want to get 0, try something like <xsl:with-param name="colnumber" select="position() - 1"/> instead.

J.Pietschmann

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread