Note that there are some explanatory texts on larger screens.

plurals
  1. POValue-Of select multiple elements
    primarykey
    data
    text
    <p>/* Edited */</p> <p>I have a 3 column table like this with text insert in the first, 3 editable divs, in the second and two editable divs with text as shown below and i would like if when i call my template,that i have to call twice to get the template as it is but with the codes change to the one wit _1 on the end and with _2 on the end...</p> <pre><code> &lt;xsl:call-template name="my_template"&gt; &lt;xsl:with-param name="code" select="'code_1'"/&gt; &lt;/xsl:call-template&gt; &lt;xsl:call-template name="my_template"&gt; &lt;xsl:with-param name="code" select="'code_2'"/&gt; &lt;/xsl:call-template&gt; &lt;table&gt; &lt;tr&gt; &lt;xsl:for each select="node/contains(@someCode,'my_value_code_for both_in_this_to_show_text_below_and_divs_')"&gt; &lt;td&gt; Text1 Text2 Text3 &lt;/td&gt; &lt;td&gt; &lt;DIV&gt; &lt;DIV id="webedit" formid="{$id}" max_word_count="{$max_word_count}" comment="Title" width="770" style="background-color:#fff; margin-bottom:3pt;"&gt; &lt;xsl:value-of disable-output-escaping="yes" select="//node[@clientCode='my_div_code']"/&gt; &lt;/DIV&gt; &lt;DIV id="webedit" formid="{$id}" max_word_count="{$max_word_count}" comment="Title" width="770" style="background-color:#fff; margin-bottom:3pt;"&gt; &lt;xsl:value-of disable-output-escaping="yes" select="//node[@clientCode='my_div_code']"/&gt; &lt;/DIV&gt; &lt;DIV id="webedit" formid="{$id}" max_word_count="{$max_word_count}" comment="Title" width="770" style="background-color:#fff; margin-bottom:3pt;"&gt; &lt;xsl:value-of disable-output-escaping="yes" select="//node[@clientCode='my_div_code']"/&gt; &lt;/DIV&gt; &lt;/DIV&gt; &lt;/td&gt; &lt;td&gt; &lt;div width="100%"&gt;Text1:&lt;/DIV&gt; &lt;DIV id="webedit" formid="{$id}" max_word_count="{$max_word_count}" comment="Title" width="770" style="background-color:#fff; margin-bottom:3pt;"&gt; &lt;xsl:value-of disable-output-escaping="yes" select="//node[@clientCode='my_div_code']"/&gt; &lt;/DIV&gt; &lt;div width="100%"&gt;Text1:&lt;/DIV&gt; &lt;DIV id="webedit" formid="{$id}" max_word_count="{$max_word_count}" comment="Title" width="770" style="background-color:#fff; margin-bottom:3pt;"&gt; &lt;xsl:value-of disable-output-escaping="yes" select="//node[@clientCode='my_div_code']"/&gt; &lt;/DIV&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/xsl:for-each&gt; &lt;/table&gt; </code></pre> <p>Hope you did understand my code and question,if not i'll update it even more. Thanks again. </p>
    singulars
    1. This table or related slice is empty.
    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.
    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