<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>Parsing XML using IronRuby</title><link>http://code.msdn.microsoft.com/IronRubyXml/Project/ProjectRss.aspx</link><description>A simple wrapper around System.Xml.XmlDocument allowing you to parse Xml documents from IronRuby.  Great for use with REST APIs</description><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/IronRubyXml/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A simple wrapper around System.Xml.XmlDocument allowing you to parse Xml documents from IronRuby.  Great for use with REST APIs
&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Example&lt;/b&gt;&lt;br /&gt;This can also be found on the downloads tab.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
# Include the wrapper
require 'xml'
 
# Create the document
@document = Document.new('&amp;lt;root&amp;gt;&amp;lt;name&amp;gt;&amp;lt;first&amp;gt;Jim&amp;lt;/first&amp;gt;&amp;lt;dob&amp;gt;&amp;lt;year&amp;gt;1933&amp;lt;/year&amp;gt;&amp;lt;month&amp;gt;12&amp;lt;/month&amp;gt;&amp;lt;/dob&amp;gt;&amp;lt;/name&amp;gt;&amp;lt;name&amp;gt;&amp;lt;first&amp;gt;Bob&amp;lt;/first&amp;gt;&amp;lt;last&amp;gt;Smith&amp;lt;/last&amp;gt;&amp;lt;/name&amp;gt;&amp;lt;/root&amp;gt;')
 
# Access root/name elements
@document.elements('root/name') do |e|
   # Output the contents of the element named first
   puts e.get('first')
   
   # Access the element named dob, then output the value of year.
   e.node('dob') {|y| puts y.get('year')}
end
&lt;/pre&gt; &lt;br /&gt;Created by &lt;a href="http://blog.benhall.me.uk" class="externalLink"&gt;Ben Hall&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>BenHall</author><pubDate>Fri, 02 Jan 2009 04:21:50 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20090102A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/IronRubyXml/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;

&lt;br /&gt;
&lt;/div&gt;</description><author>BenHall</author><pubDate>Fri, 02 Jan 2009 04:17:04 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20090102A</guid></item><item><title>UPDATED RELEASE: Code 1.0 (Jan 01, 2009)</title><link>http://code.msdn.microsoft.com/IronRubyXml/Release/ProjectReleases.aspx?ReleaseId=2005</link><description></description><author></author><pubDate>Fri, 02 Jan 2009 04:16:16 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Code 1.0 (Jan 01, 2009) 20090102A</guid></item><item><title>UPDATED RELEASE: Code 1.0 (Jan 01, 2009)</title><link>http://code.msdn.microsoft.com/IronRubyXml/Release/ProjectReleases.aspx?ReleaseId=2005</link><description></description><author></author><pubDate>Fri, 02 Jan 2009 02:53:04 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Code 1.0 (Jan 01, 2009) 20090102A</guid></item><item><title>CREATED RELEASE: Code (Jan 01, 2009)</title><link>http://code.msdn.microsoft.com/IronRubyXml/Release/ProjectReleases.aspx?ReleaseId=2005</link><description></description><author></author><pubDate>Fri, 02 Jan 2009 02:50:58 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Code (Jan 01, 2009) 20090102A</guid></item></channel></rss>