<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1043440" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1043440</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Yes i have tried all of</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/documentwrite-outputing-amp-url#comment-1239854</link>
    <description> &lt;p&gt;Yes i have tried all of these options, escaping and using &lt;code&gt;&amp;amp;amp;&lt;/code&gt; and none appear to work. Only when i use the &amp;amp; does it work.&lt;/p&gt;
&lt;p&gt;i did previously createElement and appendChild to insert the  tag on the page. However, the callback function did not work. Only when i document.write did it work.&lt;/p&gt;
&lt;p&gt;Any ideas on this?&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Mar 2009 07:43:14 +0000</pubDate>
 <dc:creator>benf</dc:creator>
 <guid isPermaLink="false">comment 1239854 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>or you could try escaping</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/documentwrite-outputing-amp-url#comment-1239846</link>
    <description> &lt;p&gt;or you could try &lt;a href=&quot;http://scriptasylum.com/tutorials/encdec/encode-decode.html&quot;&gt;escaping and unescaping&lt;/a&gt; the string: &lt;a href=&quot;http://www.yuki-onna.co.uk/html/encode.html&quot;&gt;&quot;&amp;amp;&quot; = &quot;%26&quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;btw - &lt;a href=&quot;http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite&quot;&gt;document.write will not work in an XHTML doc&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Mar 2009 03:42:32 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1239846 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Have you tried using the</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/documentwrite-outputing-amp-url#comment-1239844</link>
    <description> &lt;p&gt;Have you tried using the entity? &lt;code&gt;&amp;amp;amp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;document.write(&amp;#039;&amp;lt;scr&amp;#039; + &amp;#039;ipt src=&amp;quot;http://jsonsource.com/index.php?j=t&amp;amp;amp;y=r&amp;amp;amp;h=4&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;\/scr&amp;#039; + &amp;#039;ipt&amp;gt;&amp;#039;);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It&#039;s common practice anyway...&lt;br /&gt;
&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;W3C&lt;/em&gt; wrote:&lt;/div&gt;If ampersands are not encoded, the characters after them up to the next semi-colon can be interpreted as the name of a entity by the user agent. The document could also be considered not &quot;well-formed&quot; by an XML processor&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Mar 2009 01:36:00 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1239844 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
