Hi Robert,
I'm not sure what the client will want created to be honest. So, at
this point, I'm simply trying to get the data to appear how it should if
someone were to view an xml file.
I also just figured out how to add custom tag groupings:
xml.instruct!
xml.virtuals do
@virtuals.each do |virtual|
xml.virtual do
xml.team virtual.formal_name
xml.tsrs virtual.tsrs
xml.offense{
xml.total_offense virtual.to_ydspgm
}
end
end
end
In the case above, I want to wrap an offense element around offensive
stats so I'm doing it this way. It's looking good so far. Once I get
this done, I'll have to find out what the client wants.
What do you suggest based on what you see me doing currently?
--
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
-~----------~----~----~----~------~----~------~--~---