Note that there are some explanatory texts on larger screens.

plurals
  1. POXSLT disable-output-escaping not holding across two diff servers
    primarykey
    data
    text
    <p>Gidday,</p> <p>I have a page with XSLT doing small amounts of awesome, and it has mostly been going quite well, but I've hit a roadblock.</p> <p>This page: <a href="http://codefinger.co.nz/_testing/build_2011/" rel="nofollow noreferrer">http://codefinger.co.nz/_testing/build_2011/</a> chokes on CDATA sections that aren't actually in part of my .xsl file, they seem to be inserted during transformation (Javascript parse errors thrown).</p> <p>Interestingly, this SO question: <a href="https://stackoverflow.com/questions/435005/xslt-javascript-and-unescaped-html-entities">xslt, javascript and unescaped html entities</a> solved the problem on my local test site (I wrapped the contents of my script blocks with the disable-output-escaping XSL tags), which is a WAMP 2.0 stack with this XSL config: <img src="https://i.stack.imgur.com/ZjHTy.png" alt="localhost:// phpinfo()"></p> <p>My live, hosted server has this config: <a href="http://codefinger.co.nz/php-info.php" rel="nofollow noreferrer">http://codefinger.co.nz/php-info.php</a>, and this same approach does not work.</p> <p>Here's the source .xsl file: <a href="http://codefinger.co.nz/_testing/build_2011/xsl/siteContent.xsl" rel="nofollow noreferrer">http://codefinger.co.nz/_testing/build_2011/xsl/siteContent.xsl</a>, the associated .xml is valid, it is here: <a href="http://codefinger.co.nz/_testing/build_2011/xml/siteContent.xml" rel="nofollow noreferrer">http://codefinger.co.nz/_testing/build_2011/xml/siteContent.xml</a>.</p> <p>Any ideas?</p> <p>It should be noted that I really don't fancy moving 2 of the 3 scripts blocks to external files - one is Cufon font replacement (so I <em>could</em> move it), the other is a wee script in the head tag by Luke Smith, which is converted to CSS when JS is available.</p>
    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.
 

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