例如,您可以使用一个绑定数据编出文档,进行更改,然后使用另一个绑定将数据对象编组成输出文档。
You can, for instance, unmarshal a document using one binding, make changes, then marshal the data objects to an output document using a different binding.
要数据编组的对象必须是类的一个实例,该类是用绑定中的全局映射定义的。
The object to be marshalled must be an instance of a class that's defined with a global mapping in the binding.
然后必须将数据库内容读取到对象模型中,并请求底层框架将其内部的结构编组为xml格式。
You would then have to read the contents of the database into your object model and then request the underlying framework to Marshall its internal structure to an XML format.
应用推荐