[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Problem writing xsl to convert xml to excel

Subject: Re: Problem writing xsl to convert xml to excel
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 05 Mar 2004 23:57:29 +0100
Re:  Problem writing xsl to convert xml to excel
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.