Subject: Swing-style Glue and Struts
From: "James Parsons" <jparsons@xxxxxxxxxxxxx>
Date: Wed, 1 Aug 2001 10:03:19 -0400
|
In Java Swing, you can nudge components around within a GUI
layout by adding Glue and Strut components.
I would like to implement something similar using XSLT with my
servlet's XML output, resulting in HTML table cells that
incorporate a rudimentary layout manager...
I would like to guarentee vertical table cell size, without
knowing until XML generation time, how many text lines will be in
the cell.
I suppose that I would have to generate a tag/value combination
that would specify the desired vertical line spacing, then I
would have to count lines within the template match block that
were copied through, and then take the difference (if one
existed...) and send that value as a parameter to a subroutine
that generated lines with just whitespace...
Before I embark on this XSLT Odyssey, do the experienced XSLTers
on this list think this is viable? Or are there hidden perils in
this task that come to mind?
-Jim Parsons, ArsDigita Corp.
-jparsons@xxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|