in followup to my last email regarding how to use result_to_xml, i was able
to do so, with this syntax:
<%=Match.result_to_xml match.full_set%>
Now, i am wondering how to filter out some of the nodes within my xml. I
only need the id of the match object, not the updated-at and created-at
values that match model includes.
I don''t want this:
<match>
    <created-at
type="datetime">2008-05-23T16:33:46-06:00</created-at>
 <id type="integer">369</id>
    <updated-at
type="datetime">2008-05-23T16:33:46-06:00</updated-at>
    <children>
    </children>
  </match>
I want this:
<match>
 <id type="integer">369</id>
    <children>
    </children>
  </match>
Does this makes sense? i want to trim down my xml result object so that the
object is light weight to go across the wire.
thanks,
jerad
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/betternestedset-talk/attachments/20080523/28147aba/attachment.html>