[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

XSLT set <td> height from variable

XSLT: How can I set height ?

<xsl:variable name="height" select="number(((substring-before(finish_time,':')) - (substring-before(start_time,':'))) * 60 + (substring-after(finish_time,':')) - (substring-after(start_time,':'))) div 30"/>
<xsl:variable name="row_height" select="ceiling($height)"/>
<tr><td height=" ??$row_height??" bgcolor="#E3E5EE">

What should I put in there to set td height to variable rows ?
0
ZAPASCO
Asked:
ZAPASCO
1 Solution
 
zc2Commented:
There is a special syntax:

<td height="{$row_height}" bgcolor="#E3E5EE">
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now