|
Subject: [xsl] performing calculations with variables / params in FO using certain units (mm, px, etc) From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx> Date: Thu, 30 Oct 2003 11:41:50 -0600 |
Sample statement.
<fo:table-column column-width="{$SBWidth-$ImageWidthRender}"/>
This one place where I am using variables to define widths for FO table
columns
(I am primarily using FO tables and nested tables for laying out my
document)
QUESTION:
If I am specifying those variables as, 300mm and 200mm respectively I
suppose there will be a problem in trying to subtract them with the
units present.
Is there some way to specify a particular UNIT to be used all over so
that I can specify those values without the units appended (makes
subtraction easy)?
Is there a way to have this subtraction performed with the units
present, without having to write intensive string parsing functions to
separate the values & units?
FYI - We are using a licensed version of Apoc FO Renderer
(www.chive.com)
and .NET System.Xml.Xsl classes. ( derivative from MSXML 4.0)
Please do let me know what you think.
Thanks,
Abhishek Sanwal
HP - Houston Campus
abhishek.sanwal@xxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re: Re: Converting specific c, Dimitre Novatchev | Thread | [xsl] Re: performing calculations w, Dimitre Novatchev |
| RE: [xsl] Re: Converting specific c, Sindigi, Ganesh K | Date | RE: [xsl] Re: Converting specific c, Sindigi, Ganesh K |
| Month |