Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try adding disable-output-escaping to the xsl:text elements:</p> <pre><code>&lt;a title="Approve/Reject" style="color:#b94e0a;text-decoration:underline;"&gt; &lt;xsl:attribute name="href"&gt; &lt;xsl:text disable-output-escaping="yes"&gt;http:/stage/_layouts/WrkTaskIP.aspx?List=91be5c14%2D6eea%2D4223%2D802e%2D7fa28b5d14ba&amp;amp;ID=&lt;/xsl:text&gt; &lt;xsl:value-of select="substring-before(/SRWorkflowDetails/SRLevel[level=$level and contains(Approver,$Id)]/URL,';')" disable-output-escaping="yes"/&gt; &lt;xsl:text disable-output-escaping="yes"&gt;&amp;amp;Source=http://stage/_layouts/WrkStat.aspx?List=089f13be%2D3147%2D4818%2Da30e%2Da332cb63195d&amp;amp;WorkflowInstanceID=&lt;/xsl:text&gt; &lt;xsl:value-of select="substring-after(/SRWorkflowDetails/SRLevel[level=$level and contains(Approver,$Id)]/URL,';')" disable-output-escaping="yes"/&gt; &lt;/xsl:attribute&gt; Approve/Reject &lt;/a&gt; </code></pre> <p>Or try doing away with the xsl:text elements:</p> <pre><code>&lt;a title="Approve/Reject" style="color:#b94e0a;text-decoration:underline;"&gt; &lt;xsl:attribute name="href"&gt; http:/stage/_layouts/WrkTaskIP.aspx?List=91be5c14%2D6eea%2D4223%2D802e%2D7fa28b5d14ba&amp;amp;ID=&lt;xsl:value-of select="substring-before(/SRWorkflowDetails/SRLevel[level=$level and contains(Approver,$Id)]/URL,';')" disable-output-escaping="yes"/&gt;&amp;amp;Source=http://stage/_layouts/WrkStat.aspx?List=089f13be%2D3147%2D4818%2Da30e%2Da332cb63195d&amp;amp;WorkflowInstanceID=&lt;xsl:value-of select="substring-after(/SRWorkflowDetails/SRLevel[level=$level and contains(Approver,$Id)]/URL,';')" disable-output-escaping="yes"/&gt; &lt;/xsl:attribute&gt; Approve/Reject &lt;/a&gt; </code></pre> <p>If neither of those work, try the workaround described in <a href="https://stackoverflow.com/questions/2921123/xsl-how-to-disable-output-escaping-for-an-attribute/2921209#2921209">How to disable output escaping for an attribute?</a></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