<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -48,6 +48,15 @@ feed.entries.first.title # =&gt; title of the first entry
 feed.entries.first.author # =&gt; the author of the first entry
 feed.entries.first.url # =&gt; the permalink on the blog for this entry
 # etc ...
+
+# you can also use the elements method without specifying a class like so
+class SomeServiceResponse
+  elements :message, :as =&gt; :messages
+end
+
+response = SomeServiceResponse.parse(&quot;&lt;response&gt;&lt;message&gt;hi&lt;/message&gt;&lt;message&gt;world&lt;/message&gt;&lt;/response&gt;&quot;)
+response.messages.first # =&gt; &quot;hi&quot;
+response.messages.last  # =&gt; &quot;world&quot;
 &lt;/pre&gt;
 
 h2. LICENSE</diff>
      <filename>README.textile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>24e8b2e2a9b18e3a879fcac5c10c1318895f912f</id>
    </parent>
  </parents>
  <author>
    <name>Paul Dix</name>
    <email>paul@pauldix.net</email>
  </author>
  <url>http://github.com/pauldix/sax-machine/commit/95b727e486699f83f9459ddcbcdb81428e4cb9b0</url>
  <id>95b727e486699f83f9459ddcbcdb81428e4cb9b0</id>
  <committed-date>2009-02-10T13:25:28-08:00</committed-date>
  <authored-date>2009-02-10T13:25:28-08:00</authored-date>
  <message>updated readme with expanded elements usage</message>
  <tree>a5ba01c8d7db1279456d459a8482f07814c4f04c</tree>
  <committer>
    <name>Paul Dix</name>
    <email>paul@pauldix.net</email>
  </committer>
</commit>
