fixing #61673 part I, do not loose doc information when copying result

* xpath.c: fixing #61673 part I, do not loose doc information
  when copying result value trees.
Daniel
2 files changed