Note that there are some explanatory texts on larger screens.

plurals
  1. POTable column split issue in XSL
    primarykey
    data
    text
    <p><img src="https://i.stack.imgur.com/YheCp.png" alt="enter image description here"><img src="https://i.stack.imgur.com/rrNAi.png" alt="enter image description here">I am pullng my hair to find the error in this code, my table column is cutting into two line but I want to display the column data in single line. Same table is used for displaying data in other senario and works fine. I belive the column data "Data Not Available" is pulling the content into 2 lines, anyinput wil be a great help.</p> <pre><code>&lt;table style="width=73%;table-layout:auto" border="0" white-space-collapse="false" wrap-option="no-wrap" white-space="nowrap"&gt; &lt;xsl:for-each select="webpage/param"&gt; &lt;tr&gt; &lt;xsl:if test="@type !='i'"&gt; &lt;td class="rowBlue"&gt; &lt;xsl:if test="@indent !=''"&gt; &lt;!-- Generate the appropriate number of indentation --&gt; &lt;xsl:variable name="count" select="@indent"/&gt; &lt;xsl:for-each select="(//*)[position()&amp;lt;=$count]"&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;/xsl:for-each&gt; &lt;/xsl:if&gt; &lt;xsl:choose&gt; &lt;xsl:when test="@isBold='1'"&gt; &lt;strong&gt;&lt;span id="{position()-1}{@nameStrID}"&gt;&lt;xsl:value-of select="@name"/&gt;&lt;/span&gt;&lt;/strong&gt; &lt;/xsl:when&gt; &lt;xsl:otherwise&gt; &lt;span id="{position()-1}{@nameStrID}"&gt;&lt;xsl:value-of select="@name"/&gt;&lt;/span&gt; &lt;/xsl:otherwise&gt; &lt;/xsl:choose&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;xsl:text&gt;&amp;#xa0;&lt;/xsl:text&gt; &lt;/td&gt; &lt;/xsl:if&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload