Hi Robert,

One of the companies I'm trying to work with just requires xml data that 
they use for plugins to their video system.  So, when I say xml feeds 
I'm simply implying feeding xml data to their system.

I know I could simply just perform a standard xml render and have them 
pull and parse off of that.  However, I may want to organize that so it 
reads better.

Let me provide you a brief example of an xml fed document that I might 
have:

http://pastie.org/593376

As it stands now the generic xml data is placed into a teams container 
with two sub containers for team.  I may want to change this so that it 
looks like such:

<teams>
  <team>
    <offense>
       ...
    </offense>
    <defense>
       ...
    </defense>
    <special_teams>
       ...
    </special_teams>
    ... etc.
  </team>
  <team>
    <offense>
       ...
    </offense>
    <defense>
       ...
    </defense>
    <special_teams>
       ...
    </special_teams>
    ... etc.
  </team>
</teams>

I'm just trying to come up with a proper way of rendering the xml in 
such a fashion that whatever plugin they use can find and sort the data 
properly.  So, I'm weighing my options on how to render the xml.

>From my limited understanding with xml in rails, an xml builder is 
something that is used for say tables/grids?  I don't think I need 
formatting like that.  I just need an xml file that they can use to pull 
data from.

Any tips would be appreciated.

Many thanks.

Attachments:
http://www.ruby-forum.com/attachment/3968/virtuals.xml

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to