[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: A4, A3 or Letter layout-master-set
At 2002-04-29 15:36 +0100, Simpson, George wrote:
My question is regarding the page width settings and margins in our XSL Style sheet, would I have to create a The latter ... you can create the bunch of page masters that you need, and then in your XSLT where you create the result <page-sequence> you could use an attribute value template to determine from passed parameters which sequence you would want: <xsl:param name="page-type" select="'A4'"/> ... <simple-page-master master-name="pages-A4" .../> <simple-page-master master-name="pages-A3" .../> <simple-page-master master-name="pages-Letter" .../> ... <page-sequence master-reference="pages-{$page-type}"> ... Our product would obviously detect the current country settings and determine the required print format. ... and pass the required print format as a command-line argument. If this is possible how would we then set our widths on the table-column column-width settings? I suggest you use proportional widths that react to the width of the page: <table-column column-width="proportional-column-width(...some value...)"/> ... <table-column column-width="proportional-column-width(...other value...)"/> This will give you proportionally the same in all results. I hope this helps. ................. Ken
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 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed), articles, training(instructor-live,Internet-live,web/CD,licensed) Next public training: 2002-05-06,07,09,10,13,20, - 06-04,07,10,11,13,14,17,20,07-31,08-05 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|