Hi all, Does anyone know of an approach/plugin that for model classes persisted to XML, as ActiveRecord works with databases? I'm aware of ActiveRecord::XMLSerialization, but I'd like to expand on that in two ways:
1) The 'to_xml' method currently serializes descendant objects only when explicitly specified. I need to be able to say 'to_xml(:include => :all)', so a complete document is written. 2) I'd like the XML schema to drive the definition of the model classes (like ActiveRecord). Doesn't matter to me if that happens at run time or via a rake task. We're trying to avoid the ORM quagmire. We have complete control over both the XML schema and the model classes, so we can change the schema if necessary. Thanks, Brian -- 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---