Subject: Re: [xsl] whats the best way to create and use values for lookup (key-value) such that you can loop through it with limits From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 12 Sep 2003 20:13:59 -0400 |
How to pickup and insert values for individual column widths from variables/params/(any other value holder with local scope) already present in the XSL by limiting the number of values picked up to a variable that defines the number of columns or a separate count ?
Basically I want to be able to specify in a template for a section the values for the column widths for a table that is present in that section. that matches a table XML structure the
<xsl: template match section > <!-- values for column widths --> col 1 = 20 col 2 = 30 col 3 = 10 col 4 = 40 col 5 = "" <!-- may or may not be null ...that issue is open >
<apply-template table/>
<xsl: /template>
<xsl: template match "table">
<! Will use those values and apply them to the columns that it creates dynamically based on the number of columns present in the XML structure >
How can I define the following so as to easily pickup values while iterating over the above value set defined in the XSL
-- Next public European delivery: 3-day XSLT/2-day XSL-FO 2003-09-22 Next public US delivery: 3-day XSLT/2-day XSL-FO 2003-10-13 Instructor-led on-site corporate, government & user group training for XSLT and XSL-FO world-wide: please contact us for the details
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: whats the best way to cre, Dimitre Novatchev | Thread | RE: [xsl] Re: whats the best way to, SANWAL, ABHISHEK (HP |
[xsl] whats the best way to create , SANWAL, ABHISHEK (HP | Date | [xsl] Re: whats the best way to cre, Dimitre Novatchev |
Month |