title: XSLT - Ampersand in &amp; entity breaking transformation
body: <p>I am doing my transformation in php.</p>
  
  <p>I am receiving a large XML file to transform - which works fine however inside a node there is a url that contains the &amp; character (encoded to <code>&amp;amp;</code>) ie</p>
  
  <pre><code>&lt;web:cacheurl&gt;http://cc.bingj.com/cache.aspx?q=adewy&amp;amp;d=4573100964054074&amp;amp;w=95e613ec,b3e54511&lt;/web:cacheurl&gt;
  </code></pre>
  
  <p>All well and good I thought, however the &amp; in the <code>&amp;amp;</code> appears to be breaking any transformations on that node AND all nodes that appear after it in the xml.</p>
  
  <p>If I strip all &amp; out of the XML to just amp; the problem is fixed, hence debugged - I really don't want to have to strip them out and then put them back in after the transformation, it's a bit hacky.
  Any ideas?</p>