xsl-list
[Top] [All Lists]

Re: [xsl] dynamic fo:table-column width?

2007-05-30 09:56:27
On Wed, 2007-05-30 at 09:52 -0500, Jay Bryant wrote:
Hi, Luke,

That's a question I've answered before on a different mailing list. It took 
me a bit to find my previous message (if I hadn't known I'd written it, I 
never would have found it).

Here's a link to that old answer: 
http://marc.info/?l=fop-user&m=112732887606348&w=2

It works, but it relies on a longish bit of easy-to-misunderstand code, so 
it may not be a worthwhile solution. Still, it may give you an idea for your 
own, better solution.

Thanks!  In your code you used {}'s around variables and attributes
within the column-width.  I did not realize you could do this! (which is
probably xsl 101 :] )  I ended up writing a function to insert an
attribute into the tag, and then used column-width = "{(_at_)name}in" for the
'dynamic' column size.

Thanks for all the help,
Luke

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>