Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>thanks for having a look into this post, i figured out the solution. it is as below.</p> <pre><code> &lt;xsl:template match="para.group"&gt; &lt;section class="sect1"&gt; &lt;xsl:value-of select="./heading"/&gt; &lt;/section&gt; &lt;xsl:for-each select="./para"&gt; &lt;div class="ital"&gt; &lt;xsl:apply-templates select="node()[not(self::label)]"/&gt; &lt;/div&gt; &lt;/xsl:for-each&gt; &lt;xsl:apply-templates select="//counsel.group"/&gt; &lt;/xsl:template&gt; &lt;xsl:template name="orderedlist" match="list"&gt; &lt;ol class="eng-orderedlist orderedlist"&gt; &lt;xsl:apply-templates select="list.item/label"/&gt; &lt;/ol&gt; &lt;/xsl:template&gt; &lt;xsl:template name="orderitempara" match="list.item/label"&gt; &lt;li class="item"&gt; &lt;div class="para"&gt; &lt;span class="item-num"&gt; &lt;xsl:value-of select="."/&gt; &lt;/span&gt; &lt;xsl:apply-templates select="parent::list.item"/&gt; &lt;/div&gt; &lt;/li&gt; &lt;/xsl:template&gt; &lt;xsl:template match="list.item"&gt; &lt;xsl:variable name="a"&gt; &lt;xsl:value-of select="./label"/&gt; &lt;/xsl:variable&gt; &lt;xsl:choose&gt; &lt;xsl:when test="./label"&gt; &lt;xsl:apply-templates select="child::node()[not(self::label|case.ref)]"/&gt; &lt;/xsl:when&gt; &lt;/xsl:choose&gt; &lt;/xsl:template&gt; &lt;xsl:template match="counsel.group" name="j"&gt; &lt;xsl:for-each select="."&gt; &lt;div class="para"&gt; &lt;xsl:value-of select="counsel.line"/&gt; &lt;/div&gt; &lt;/xsl:for-each&gt; &lt;xsl:apply-templates select="//history"/&gt; &lt;/xsl:template&gt; </code></pre> <p>i've called the counsel.group in wrong place. Thanks again.</p> <p>Rakesh</p>
 

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