Forum Discussion

Prudential_UK_A's avatar
Prudential_UK_A
Frequent Contributor
15 years ago

Property with XQuery transfer only uses first node in XQuery result

Hi,
I am doing a property transfer that generates a number of nodes, but in the target only the first node appears.
I have tried to wrap them in a root node and using the "Transfer Child Nodes" option on the property transfer, but this replaces all the children in the destination.
Any ideas 
Regards
Peter

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Could you please show the actual response message and the xquery statement you are using?

    Regards,
    /Dragica
    eviware.com
  • Prudential_UK_A's avatar
    Prudential_UK_A
    Frequent Contributor
    We've decided to go with multiple transfers for each of the elements instead of building a list with xquery.
    Thanks
  • Prudential_UK_A's avatar
    Prudential_UK_A
    Frequent Contributor
    I have made an example project .
    the testcase ends up with a Properties,
    one property should have multiple 's but has only one.
    the other property shows that if the items are wrapped in a they both get transferred.
    this leads me to believe that only one root node will be transferred from xquery results.