以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XML在软件工程中的应用 』 (http://bbs.xml.org.cn/list.asp?boardid=6) ---- 求助: castor mapping 怎么绑定集合阿? (http://bbs.xml.org.cn/dispbbs.asp?boardid=6&rootid=&id=17566) |
-- 作者:qzhayako -- 发布时间:4/27/2005 3:08:00 PM -- 求助: castor mapping 怎么绑定集合阿? castor mapping 怎么绑定集合阿? 绑定单一的元素的时候可以直接由 <field name="value" type="string" required="true" direct="false" transient="false"> <bind-xml name="value" node="attribute"/> </field> 可以 搞定 但是绑定一个集合components的时候就出错了(components里面包括多个元素) <field name="components" required="false" direct="false" transient="false" collection="collection"> </field> 请问应该怎么处理阿 |
-- 作者:bluehat -- 发布时间:4/16/2006 9:16:00 PM -- 在Jbulider下直接有Java与xml数据绑定的castor啊 可直接绑定 |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
23.438ms |