<?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: Parsing XML: jQuery vs. ExtJS</title>
	<atom:link href="http://blog.akawebdesign.com/index.php/2009/06/18/parsing-xml-jquery-vs-extjs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.akawebdesign.com/index.php/2009/06/18/parsing-xml-jquery-vs-extjs/</link>
	<description>...how a nerd sees the world-wide-web.</description>
	<lastBuildDate>Fri, 23 Jul 2010 18:30:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Erik</title>
		<link>http://blog.akawebdesign.com/index.php/2009/06/18/parsing-xml-jquery-vs-extjs/comment-page-1/#comment-134</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Fri, 24 Jul 2009 02:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.akawebdesign.com/?p=131#comment-134</guid>
		<description>http://support.microsoft.com/kb/306355

Now your error page can have valid HTML, XHTML or whatever you want in it. You can even make a nice user-friendly message instead of an error dump.</description>
		<content:encoded><![CDATA[<p><a href="http://support.microsoft.com/kb/306355" rel="nofollow">http://support.microsoft.com/kb/306355</a></p>
<p>Now your error page can have valid HTML, XHTML or whatever you want in it. You can even make a nice user-friendly message instead of an error dump.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Art</title>
		<link>http://blog.akawebdesign.com/index.php/2009/06/18/parsing-xml-jquery-vs-extjs/comment-page-1/#comment-55</link>
		<dc:creator>Art</dc:creator>
		<pubDate>Fri, 19 Jun 2009 14:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.akawebdesign.com/?p=131#comment-55</guid>
		<description>I solved this by using simple regular expressions, though I&#039;m still unhappy ExtJS doesn&#039;t have a built-in utility to clean my DOM string (the cause of the problem).

*edit: I can&#039;t post the regular expression because WordPress interprets it as HTML. Check the link in the post to the ExtJS forum and you&#039;ll see my solution.</description>
		<content:encoded><![CDATA[<p>I solved this by using simple regular expressions, though I&#8217;m still unhappy ExtJS doesn&#8217;t have a built-in utility to clean my DOM string (the cause of the problem).</p>
<p>*edit: I can&#8217;t post the regular expression because WordPress interprets it as HTML. Check the link in the post to the ExtJS forum and you&#8217;ll see my solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Art</title>
		<link>http://blog.akawebdesign.com/index.php/2009/06/18/parsing-xml-jquery-vs-extjs/comment-page-1/#comment-51</link>
		<dc:creator>Art</dc:creator>
		<pubDate>Thu, 18 Jun 2009 20:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.akawebdesign.com/?p=131#comment-51</guid>
		<description>@extidiot: That is a nice solution, but the problem is that (1) I&#039;m not returned valid XML code, and (2) the responseText attribute has an HTML tag, which can&#039;t be a child of DIV. Thus Ext.DomQuery.selectValue() doesn&#039;t seem to work - it actually sets the value to &quot;undefined&quot;.

@wregen: Also a nice solution. Same problem though...

The problem lies in the fact that my response.responseText value isn&#039;t valid XML and needs to be cleaned.

I&#039;m looking into forcing .NET to return the error differently, so I&#039;ll let you know what happens.</description>
		<content:encoded><![CDATA[<p>@extidiot: That is a nice solution, but the problem is that (1) I&#8217;m not returned valid XML code, and (2) the responseText attribute has an HTML tag, which can&#8217;t be a child of DIV. Thus Ext.DomQuery.selectValue() doesn&#8217;t seem to work &#8211; it actually sets the value to &#8220;undefined&#8221;.</p>
<p>@wregen: Also a nice solution. Same problem though&#8230;</p>
<p>The problem lies in the fact that my response.responseText value isn&#8217;t valid XML and needs to be cleaned.</p>
<p>I&#8217;m looking into forcing .NET to return the error differently, so I&#8217;ll let you know what happens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wregen</title>
		<link>http://blog.akawebdesign.com/index.php/2009/06/18/parsing-xml-jquery-vs-extjs/comment-page-1/#comment-48</link>
		<dc:creator>wregen</dc:creator>
		<pubDate>Thu, 18 Jun 2009 15:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.akawebdesign.com/?p=131#comment-48</guid>
		<description>I&#039;ve faced similar problems. My solution was to actually put the response into DOM.
Something like: 

Ext.get(&#039;proxy-element&#039;).update(the-response);

And then I am able to use: Ext.DomQuery. I did not think about elegance of my solution... perhaps I should? ;-)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve faced similar problems. My solution was to actually put the response into DOM.<br />
Something like: </p>
<p>Ext.get(&#8216;proxy-element&#8217;).update(the-response);</p>
<p>And then I am able to use: Ext.DomQuery. I did not think about elegance of my solution&#8230; perhaps I should? <img src='http://blog.akawebdesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: extidiot</title>
		<link>http://blog.akawebdesign.com/index.php/2009/06/18/parsing-xml-jquery-vs-extjs/comment-page-1/#comment-47</link>
		<dc:creator>extidiot</dc:creator>
		<pubDate>Thu, 18 Jun 2009 14:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.akawebdesign.com/?p=131#comment-47</guid>
		<description>And if it is valid XML, then you can use responseXML and DomQuery will understand it!</description>
		<content:encoded><![CDATA[<p>And if it is valid XML, then you can use responseXML and DomQuery will understand it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: extidiot</title>
		<link>http://blog.akawebdesign.com/index.php/2009/06/18/parsing-xml-jquery-vs-extjs/comment-page-1/#comment-46</link>
		<dc:creator>extidiot</dc:creator>
		<pubDate>Thu, 18 Jun 2009 14:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.akawebdesign.com/?p=131#comment-46</guid>
		<description>Doesn&#039;t it seem obvious?

var d = document.createElement(&quot;div&quot;);
d.innerHTML = response.responseText;
errorMessage =  Ext.DomQuery.selectValue(&quot;div#errortext&quot;, d);</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t it seem obvious?</p>
<p>var d = document.createElement(&#8220;div&#8221;);<br />
d.innerHTML = response.responseText;<br />
errorMessage =  Ext.DomQuery.selectValue(&#8220;div#errortext&#8221;, d);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
