<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
	>
<channel>
	<title>Comments on: Ruby + XML: A Serious Question That Only Sounds Facetious</title>
	<atom:link href="http://enfranchisedmind.com/blog/posts/ruby-xml-parsin/feed/" rel="self" type="application/rss+xml" />
	<link>http://enfranchisedmind.com/blog/posts/ruby-xml-parsin/</link>
	<description>programming, politics, &#38; other religious issues</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:16:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Nels</title>
		<link>http://enfranchisedmind.com/blog/posts/ruby-xml-parsin/#comment-38213</link>
		<dc:creator>Nels</dc:creator>
		<pubDate>Mon, 19 Sep 2011 20:04:22 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=632#comment-38213</guid>
		<description>Since this comment thread sputtered out, has there been any significant advances in Ruby + XML land other than Nokogiri?</description>
		<content:encoded><![CDATA[<p>Since this comment thread sputtered out, has there been any significant advances in Ruby + XML land other than Nokogiri?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VB Beginner</title>
		<link>http://enfranchisedmind.com/blog/posts/ruby-xml-parsin/#comment-37481</link>
		<dc:creator>VB Beginner</dc:creator>
		<pubDate>Wed, 07 Apr 2010 02:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=632#comment-37481</guid>
		<description>I agree with Wheelwright.  I don&#039;t know about &quot;light years&quot;, but C# in fact is a few years ahead, I think.  And, believe it or not, Visual Basic goes even further with this LINQ to XML API.  You can write the same LINQ construct (.Descendants(&quot;account&quot;), etc), but VB programmers use XML literals and properties.  We can&#039;t really see from this example, but Visual Studio provides intellisense for this.

So, the same query will look something like...
&lt;pre lang=&quot;VB&quot;&gt;
From account In xDoc...
Group account By key = account.@id Into Group
Select id = key, amount = Group..Sum(Function(t) t.@amount)
&lt;/pre&gt;

The only thing with VB is that its lambda syntax is a bit goofy.  I like C#&#039;s =&gt; way better.  By the way, does Java even have lambda?  How do you write a higher-order function in Java anyway?</description>
		<content:encoded><![CDATA[<p>I agree with Wheelwright.  I don&#8217;t know about &#8220;light years&#8221;, but C# in fact is a few years ahead, I think.  And, believe it or not, Visual Basic goes even further with this LINQ to XML API.  You can write the same LINQ construct (.Descendants(&#8220;account&#8221;), etc), but VB programmers use XML literals and properties.  We can&#8217;t really see from this example, but Visual Studio provides intellisense for this.</p>
<p>So, the same query will look something like&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;">From account <span style="color: #8D38C9; font-weight: bold;">In</span> xDoc...
Group account By key = account.@id Into Group
<span style="color: #8D38C9; font-weight: bold;">Select</span> id = key, amount = Group..Sum(<span style="color: #E56717; font-weight: bold;">Function</span>(t) t.@amount)</pre></div></div>

<p>The only thing with VB is that its lambda syntax is a bit goofy.  I like C#&#8217;s =&gt; way better.  By the way, does Java even have lambda?  How do you write a higher-order function in Java anyway?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Schut</title>
		<link>http://enfranchisedmind.com/blog/posts/ruby-xml-parsin/#comment-33346</link>
		<dc:creator>Peter Schut</dc:creator>
		<pubDate>Tue, 03 Jun 2008 01:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=632#comment-33346</guid>
		<description>For help with namespaces and libxml-ruby, check out http://thebogles.com/blog/an-hpricot-style-interface-to-libxml/

Cheers, Peter.</description>
		<content:encoded><![CDATA[<p>For help with namespaces and libxml-ruby, check out <a href="http://thebogles.com/blog/an-hpricot-style-interface-to-libxml/" rel="nofollow">http://thebogles.com/blog/an-hpricot-style-interface-to-libxml/</a></p>
<p>Cheers, Peter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enfranchised Mind &#187; The Status of Ruby&#8217;s libxml</title>
		<link>http://enfranchisedmind.com/blog/posts/ruby-xml-parsin/#comment-33315</link>
		<dc:creator>Enfranchised Mind &#187; The Status of Ruby&#8217;s libxml</dc:creator>
		<pubDate>Tue, 27 May 2008 11:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=632#comment-33315</guid>
		<description>[...] I was struggling with XML parsing in Ruby, the consensus was to try out libxml. I got on the devel mailing list in preparation for giving it [...]</description>
		<content:encoded><![CDATA[<p>[...] I was struggling with XML parsing in Ruby, the consensus was to try out libxml. I got on the devel mailing list in preparation for giving it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enfranchised Mind &#187; Hpricot Does Namespaces?</title>
		<link>http://enfranchisedmind.com/blog/posts/ruby-xml-parsin/#comment-33270</link>
		<dc:creator>Enfranchised Mind &#187; Hpricot Does Namespaces?</dc:creator>
		<pubDate>Thu, 22 May 2008 21:25:36 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=632#comment-33270</guid>
		<description>[...] like I was a bit hasty in my condemnation of Ruby XML parsing: Hpricot apparently handles namespaces okay through the magical .%() syntax. This tip is shared by [...]</description>
		<content:encoded><![CDATA[<p>[...] like I was a bit hasty in my condemnation of Ruby XML parsing: Hpricot apparently handles namespaces okay through the magical .%() syntax. This tip is shared by [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

