[英]Is there XML binding library for Ruby (like JAXB)?
is there any tool for Ruby which can transform XML (SOAP) to objects and vice versa? Ruby 是否有任何工具可以将 XML (SOAP) 转换为对象,反之亦然? And if possible, generate all the objects (models) from XML schema (XSD).
如果可能,从 XML 模式 (XSD) 生成所有对象(模型)。 I worked several times with JAXB tool (in Java) and I need something simmilar:
我曾多次使用 JAXB 工具(在 Java 中),我需要一些类似的东西:
Do you know any tool for this?你知道这方面的任何工具吗? What approach would you recommend to complete such task?
你会推荐什么方法来完成这样的任务?
Thanks for your answers.感谢您的回答。
I haven't used it but there is a library called HappyMapper: http://happymapper.rubyforge.org/我没用过,但是有一个叫做 HappyMapper 的库: http://happymapper.rubyforge.org/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.