This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Swing-style Glue and Struts


 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@arsdigita.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]