<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XHTML document.write() Support</title>
	<atom:link href="http://weston.ruter.net/projects/xhtml-document-write/feed/" rel="self" type="application/rss+xml" />
	<link>http://weston.ruter.net</link>
	<description>Web application developer in Portland, Oregon</description>
	<lastBuildDate>Fri, 09 Dec 2011 18:07:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Leif Halvard Silli</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-16242</link>
		<dc:creator>Leif Halvard Silli</dc:creator>
		<pubDate>Sun, 18 Apr 2010 21:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-16242</guid>
		<description>It is a bug in Resig&#039;s HTMLparser - it doesn&#039;t handle attributes with a hyphen in the name.</description>
		<content:encoded><![CDATA[<p>It is a bug in Resig&#8217;s HTMLparser &#8211; it doesn&#8217;t handle attributes with a hyphen in the name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leif Halvard Silli</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-16239</link>
		<dc:creator>Leif Halvard Silli</dc:creator>
		<pubDate>Sun, 18 Apr 2010 19:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-16239</guid>
		<description>If the element one tries to insert contains an attribute with a hyphen, then the element is not inserted at all. 

Usecases: HTML5: &lt;code&gt;data-myname=&quot;*&quot;&lt;/code&gt;, ARIA: &lt;code&gt;aria-describedby=&quot;*&quot;&lt;/code&gt;, HTTP: &lt;code&gt;&lt;meta http-equiv=&quot;*&quot; content=&quot;*&quot;&gt;&lt;/code&gt;.

Example of non-working code:

&lt;code&gt;&lt;script type=&quot;text/javascript&quot;&gt;//&lt;![CDATA[
 document.write(&#039;&lt;div data-abc=abc &gt;Hello &lt;i&gt;World&lt;/i&gt;!&lt;/div&gt;&#039;);
//]]&gt;&lt;/script&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>If the element one tries to insert contains an attribute with a hyphen, then the element is not inserted at all. </p>
<p>Usecases: HTML5: <code>data-myname="*"</code>, ARIA: <code>aria-describedby="*"</code>, HTTP: <code>&lt;meta http-equiv="*" content="*"&gt;</code>.</p>
<p>Example of non-working code:</p>
<p><code>&lt;script type="text/javascript"&gt;//&lt;![CDATA[<br />
 document.write('&lt;div data-abc=abc &gt;Hello &lt;i&gt;World&lt;/i&gt;!&lt;/div&gt;');<br />
//]]&gt;&lt;/script&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter H</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-8308</link>
		<dc:creator>Peter H</dc:creator>
		<pubDate>Tue, 25 Aug 2009 07:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-8308</guid>
		<description>@Weston

I am currently working on a web design which needs document.write to run under xhtml. 

Within html my script works fine in both (FF*IE) and validates in W3C. It scrolls images horizontally inside a centralised DIV.  In FF all my images sit to the left side of my DIV one on top of the other.

Yesterday I found this script, linked to it, but instead of my images scrolling horizontally within a div, they are all shown in a vertical list starting at the top left corner.

The relevant part is:-

for (ii=0;ii &lt; kk;ii++){

      document.write(&#039;&lt;a href=&#039; + axData[ii].plink + ii + &#039; rel=&quot;nofollow&quot;&gt;&#039;);

   } // eof for()

My question is, is this problem the same as noted above, or is there an issue with my script?  (I am using Firefox-3.5.2).</description>
		<content:encoded><![CDATA[<p>@Weston</p>
<p>I am currently working on a web design which needs document.write to run under xhtml. </p>
<p>Within html my script works fine in both (FF*IE) and validates in W3C. It scrolls images horizontally inside a centralised DIV.  In FF all my images sit to the left side of my DIV one on top of the other.</p>
<p>Yesterday I found this script, linked to it, but instead of my images scrolling horizontally within a div, they are all shown in a vertical list starting at the top left corner.</p>
<p>The relevant part is:-</p>
<p>for (ii=0;ii &lt; kk;ii++){</p>
<p>      document.write(&#8216;&lt;a href=&#8217; + axData[ii].plink + ii + &#8216; rel=&#8221;nofollow&#8221;&gt;&#8217;);</p>
<p>   } // eof for()</p>
<p>My question is, is this problem the same as noted above, or is there an issue with my script?  (I am using Firefox-3.5.2).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weston Ruter</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-8167</link>
		<dc:creator>Weston Ruter</dc:creator>
		<pubDate>Wed, 19 Aug 2009 16:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-8167</guid>
		<description>@Hugo and @Michiel:
The same thing is happening on my machine; once I get time, I&#039;ll try to figure out what&#039;s going on.</description>
		<content:encoded><![CDATA[<p>@Hugo and @Michiel:<br />
The same thing is happening on my machine; once I get time, I&#8217;ll try to figure out what&#8217;s going on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michiel V</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-8152</link>
		<dc:creator>Michiel V</dc:creator>
		<pubDate>Wed, 19 Aug 2009 05:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-8152</guid>
		<description>@Hugo Duncan
I have that problem too, the adsense banner is now in the top-left corner of the srceen.
Browser: FF 3.5.2</description>
		<content:encoded><![CDATA[<p>@Hugo Duncan<br />
I have that problem too, the adsense banner is now in the top-left corner of the srceen.<br />
Browser: FF 3.5.2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Duncan</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-3806</link>
		<dc:creator>Hugo Duncan</dc:creator>
		<pubDate>Sun, 05 Apr 2009 03:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-3806</guid>
		<description>In Firefox 3.0.8 on Mac OS X, I find that the Adsense code gets inserted as a child of the body tag, even though the script tags are several divs deeper.  Works fine in Opera and Safari, though.

For example, the Ads on this page appear just below the navigation bar at the top of the page.</description>
		<content:encoded><![CDATA[<p>In Firefox 3.0.8 on Mac OS X, I find that the Adsense code gets inserted as a child of the body tag, even though the script tags are several divs deeper.  Works fine in Opera and Safari, though.</p>
<p>For example, the Ads on this page appear just below the navigation bar at the top of the page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: at9t</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-3234</link>
		<dc:creator>at9t</dc:creator>
		<pubDate>Fri, 06 Mar 2009 04:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-3234</guid>
		<description>This one is so useful!</description>
		<content:encoded><![CDATA[<p>This one is so useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheIdeaMan</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-2244</link>
		<dc:creator>TheIdeaMan</dc:creator>
		<pubDate>Wed, 03 Dec 2008 22:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-2244</guid>
		<description>This is just what I need! However, I need it for a commercial site and the choice of the GPL is preventative. Would you be open to releasing it under a more open license such as the MIT, BSD, or even (if you want copylefting) the MPL or LGPL? I believe it would gain wider usage.

For now, I&#039;ll use John Resig&#039;s.

Thanks for creating this in any case.</description>
		<content:encoded><![CDATA[<p>This is just what I need! However, I need it for a commercial site and the choice of the GPL is preventative. Would you be open to releasing it under a more open license such as the MIT, BSD, or even (if you want copylefting) the MPL or LGPL? I believe it would gain wider usage.</p>
<p>For now, I&#8217;ll use John Resig&#8217;s.</p>
<p>Thanks for creating this in any case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weston Ruter</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-1617</link>
		<dc:creator>Weston Ruter</dc:creator>
		<pubDate>Fri, 10 Oct 2008 16:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-1617</guid>
		<description>@pinkduck:
I just implemented a minor fix for this &quot;parse error&quot; issue that arose in Firefox 3.0.3. Thanks for the heads up.</description>
		<content:encoded><![CDATA[<p>@pinkduck:<br />
I just implemented a minor fix for this &#8220;parse error&#8221; issue that arose in Firefox 3.0.3. Thanks for the heads up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinkduck</title>
		<link>http://weston.ruter.net/projects/xhtml-document-write/comment-page-1/#comment-1614</link>
		<dc:creator>pinkduck</dc:creator>
		<pubDate>Fri, 10 Oct 2008 08:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://weston.ruter.net/?page_id=26#comment-1614</guid>
		<description>I note that loading this page in Firefox 3.0.3 generates an &quot;uncaught exception: Parse Error:&quot; exception, though fortunately Google AdSense continues to work. Any chance you could identify the cause of this?</description>
		<content:encoded><![CDATA[<p>I note that loading this page in Firefox 3.0.3 generates an &#8220;uncaught exception: Parse Error:&#8221; exception, though fortunately Google AdSense continues to work. Any chance you could identify the cause of this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

