P
Porthos
Hi All,
I'm building an XSL document that puts two types of
information in a table dimension: preformatted data and data
extracted from my XML document (see below)
<table>
<tr>
<td>
<xsl:choose>
<xsl:when test="@amount=0"><pre> X </pre></xsl:when>
<xsltherwise><pre> Y </pre></xsltherwise>
</xsl:choose>
<u><xsl:value-of select="@title" /></u>
</td>
</tr>
</table>
The output is in a <td>, but it shows up on two separate
lines. Is there any way to make it show up as one continious line?
When I remove the <pre> tags, everything is on one line, but I lose
the formatting. Is this a 'by design' feature of the <pre> tag?
I'm building an XSL document that puts two types of
information in a table dimension: preformatted data and data
extracted from my XML document (see below)
<table>
<tr>
<td>
<xsl:choose>
<xsl:when test="@amount=0"><pre> X </pre></xsl:when>
<xsltherwise><pre> Y </pre></xsltherwise>
</xsl:choose>
<u><xsl:value-of select="@title" /></u>
</td>
</tr>
</table>
The output is in a <td>, but it shows up on two separate
lines. Is there any way to make it show up as one continious line?
When I remove the <pre> tags, everything is on one line, but I lose
the formatting. Is this a 'by design' feature of the <pre> tag?