pf
16 years agoOccasional Contributor
Insert node with xQuery in Property Transfer
Hello, I'm new to xQuery/xPath and I'll manipulate a request.
I would like to insert informations from a datasource and the response of the step before - but that's not the problem, the Problem is now to insert a node without overwriting the existing things.
example source:
result should look like the following
c
b
a
123
Is it possible to insert with a property transfer step and xQuery/xPath?
source in property transfer (xQuery):
{
for $z in //testText
return$z/text()
}
destination in property transfer (XPath):
//root
How do I have to define the xPath in the destination that node3 is added and not is overwritten?
result now is:
123
thank you for help...
I would like to insert informations from a datasource and the response of the step before - but that's not the problem, the Problem is now to insert a node without overwriting the existing things.
example source:
result should look like the following
Is it possible to insert
source in property transfer (xQuery):
{
for $z in //testText
return
}
destination in property transfer (XPath):
//root
How do I have to define the xPath in the destination that node3 is added and not
result now is:
thank you for help...