Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/trunk/sample/marshal/enum/marshal.rb

Revision 1858, 162 bytes (checked in by nahi, 2 years ago)
  • added a sample for the new xsd2ruby.rb feature.
Line 
1 require 'enumsample_mapper'
2
3 mapper = EnumsampleMapper.new
4
5 t = HobbitType.new(HobbitNameType::Frodo, 51)
6
7 xml = mapper.obj2xml(t)
8 puts xml
9 p mapper.xml2obj(xml)
Note: See TracBrowser for help on using the browser.