Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

"disable-output-escaping" in "value-of"


Project:XSLT (based on Google's AJAXSLT)
Version:0.7.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,

In the line 3775 I change this (the lines whith 'fáv'):

case 'value-of':
      var escaping = xmlGetAttribute(template, 'disable-output-escaping'); //fáv
      var select = xmlGetAttribute(template, 'select');
      var value = xpathEval(select, input).stringValue();
      var node = null;
      if(escaping=="yes")
      {
      node = xmlParse(value);  // fáv
      }
      else
      {
     node = domCreateTextNode(outputDocument, value);
      }
      output.appendChild(node);
      break;

(my english is very horrible, sorry)