Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [qvto]How to add a node in one doc to another doc
[qvto]How to add a node in one doc to another doc [message #808702] Tue, 28 February 2012 03:08
Allen Zhang is currently offline Allen ZhangFriend
Messages: 14
Registered: February 2012
Junior Member
Hi, I have two input:
transformation BpelUpdateTest(inout source:BPEL, in resource:BPEL);

In resource, there is an element (node), I want to add this node to the source. But the error is:
A node is used in a different document than the one that created it.

Can I do this with qvto?

One way I have thought is like this:
transformation BpelUpdateTest(in source:BPEL, in resource:BPEL, out target);
and I can merge source and resource into target. But I think it make things more complex.

Is there a better way?

Thank you.

[Updated on: Tue, 28 February 2012 03:13]

Report message to a moderator

Previous Topic:To be deleted
Next Topic:[qvto]failed to create object
Goto Forum:

Current Time: Wed Feb 21 13:12:27 GMT 2024

Powered by FUDForum. Page generated in 0.06885 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top